diff options
Diffstat (limited to 'src/layout/line.rs')
| -rw-r--r-- | src/layout/line.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/layout/line.rs b/src/layout/line.rs index 8f487319..c4205e81 100644 --- a/src/layout/line.rs +++ b/src/layout/line.rs @@ -1,5 +1,6 @@ use super::*; + /// The line layouter arranges boxes next to each other along a primary axis /// and arranges the resulting lines using an underlying stack layouter. #[derive(Debug, Clone)] @@ -181,7 +182,7 @@ impl LineLayouter { /// Finish the run and add secondary spacing to the underlying stack. pub fn add_secondary_spacing( &mut self, - mut spacing: Size, + spacing: Size, kind: SpacingKind ) -> LayoutResult<()> { self.finish_line_if_not_empty()?; |
