diff options
Diffstat (limited to 'components/layout/block.rs')
-rw-r--r-- | components/layout/block.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/block.rs b/components/layout/block.rs index 86e540b111a..c7f675293d3 100644 --- a/components/layout/block.rs +++ b/components/layout/block.rs @@ -537,7 +537,7 @@ impl BlockFlow { None => ForceNonfloatedFlag::ForceNonfloated, }), fragment: fragment, - float: float_kind.map(|kind| box FloatedBlockInfo::new(kind)), + float: float_kind.map(|kind| Box::new(FloatedBlockInfo::new(kind))), flags: BlockFlowFlags::empty(), } } |