diff options
| author | Laurenz <laurmaedje@gmail.com> | 2020-01-06 12:50:20 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2020-01-06 12:50:20 +0100 |
| commit | a93b1ab003affb0d72e9da4007b04a2a6cfd4462 (patch) | |
| tree | bdc6f1c14259e7745fa59c7e51d8327ee5df3061 /src/layout/line.rs | |
| parent | 2ee5810fecb96a8d4e0d078faecc8c91096d6881 (diff) | |
Formatting 🛀
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()?; |
