summaryrefslogtreecommitdiff
path: root/src/layout/stack.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout/stack.rs')
-rw-r--r--src/layout/stack.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/layout/stack.rs b/src/layout/stack.rs
index 4afe9c64..4b148ad8 100644
--- a/src/layout/stack.rs
+++ b/src/layout/stack.rs
@@ -173,8 +173,7 @@ impl<'a> StackLayouter<'a> {
let expand = self.expand;
let used = self.used.to_size(self.block);
- // Determine the stack's size dependening on whether the region is
- // fixed.
+ // Determine the stack's size dependening on whether the region expands.
let size = Size::new(
if expand.x {
self.constraints.exact.x = Some(self.full.w);