diff options
Diffstat (limited to 'src/layout/fixed.rs')
| -rw-r--r-- | src/layout/fixed.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/fixed.rs b/src/layout/fixed.rs index df099731..8a42a9d3 100644 --- a/src/layout/fixed.rs +++ b/src/layout/fixed.rs @@ -13,7 +13,7 @@ pub struct Fixed { } impl Layout for Fixed { - fn layout(&self, ctx: &mut LayoutContext, areas: &Areas) -> Vec<Layouted> { + fn layout(&self, ctx: &mut LayoutContext, areas: &Areas) -> Layouted { let Area { rem, full } = areas.current; let size = Size::new( self.width.map(|w| w.eval(full.width)).unwrap_or(rem.width), |
