diff options
Diffstat (limited to 'src/layout')
| -rw-r--r-- | src/layout/actions.rs | 2 | ||||
| -rw-r--r-- | src/layout/stacked.rs | 2 | ||||
| -rw-r--r-- | src/layout/tree.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/layout/actions.rs b/src/layout/actions.rs index 67ad48b4..707d6113 100644 --- a/src/layout/actions.rs +++ b/src/layout/actions.rs @@ -62,7 +62,7 @@ debug_display!(LayoutAction); /// content is written. /// /// Furthermore, the action list can translate absolute position into a coordinate system -/// with a different. This is realized in the `add_box` method, which allows a layout to +/// with a different origin. This is realized in the `add_box` method, which allows a layout to /// be added at a position, effectively translating all movement actions inside the layout /// by the position. #[derive(Debug, Clone)] diff --git a/src/layout/stacked.rs b/src/layout/stacked.rs index 7521967b..379579f5 100644 --- a/src/layout/stacked.rs +++ b/src/layout/stacked.rs @@ -2,7 +2,7 @@ use super::*; /// Layouts boxes stack-like. /// -/// The boxes are arranged vertically, each layout gettings it's own "line". +/// The boxes are arranged along an axis, each layout gettings it's own "line". #[derive(Debug, Clone)] pub struct StackLayouter { ctx: StackContext, diff --git a/src/layout/tree.rs b/src/layout/tree.rs index 131570df..1d88751f 100644 --- a/src/layout/tree.rs +++ b/src/layout/tree.rs @@ -108,7 +108,7 @@ impl<'a, 'p> TreeLayouter<'a, 'p> { for command in commands { match command { - Command::Layout(tree) => self.layout(tree)?, + Command::LayoutTree(tree) => self.layout(tree)?, Command::Add(layout) => { self.finish_flex()?; |
