aboutsummaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/layout_2020/flow/mod.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/components/layout_2020/flow/mod.rs b/components/layout_2020/flow/mod.rs
index 2d2e4ee1e42..f46f2724f3d 100644
--- a/components/layout_2020/flow/mod.rs
+++ b/components/layout_2020/flow/mod.rs
@@ -152,9 +152,10 @@ impl BlockContainer {
.iter()
.map(|box_| {
box_.borrow_mut()
- .inline_content_sizes(layout_context, writing_mode)
+ .inline_content_sizes(layout_context, writing_mode)
})
- .reduce(ContentSizes::max).unwrap_or_else(ContentSizes::zero),
+ .reduce(ContentSizes::max)
+ .unwrap_or_else(ContentSizes::zero),
Self::InlineFormattingContext(context) => {
context.inline_content_sizes(layout_context, writing_mode)
},