diff options
Diffstat (limited to 'src/library/flow.rs')
| -rw-r--r-- | src/library/flow.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library/flow.rs b/src/library/flow.rs index 95426731..38f1b0e7 100644 --- a/src/library/flow.rs +++ b/src/library/flow.rs @@ -48,7 +48,7 @@ impl Debug for FlowChild { match self { Self::Break => f.pad("Break"), Self::Skip => f.pad("Skip"), - Self::Spacing(node) => node.fmt(f), + Self::Spacing(kind) => kind.fmt(f), Self::Node(node) => node.fmt(f), } } @@ -56,7 +56,7 @@ impl Debug for FlowChild { /// Performs flow layout. struct FlowLayouter<'a> { - /// The flow node to layout. + /// The children of the flow. children: &'a [Styled<FlowChild>], /// The regions to layout children into. regions: Regions, |
