aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNaveen Gattu <naveen.gattu@gmail.com>2021-11-30 18:13:39 -0800
committerNaveen Gattu <naveen.gattu@gmail.com>2021-11-30 18:13:39 -0800
commit0e3b52af2761d8aa1d31320b4b342d100f50e3ca (patch)
tree6b3b2ae746e9b64e5fd76ac1124d05999d80ceca
parent00a7c172e2cd392e73d893d556f9341861ebe0e0 (diff)
downloadservo-0e3b52af2761d8aa1d31320b4b342d100f50e3ca.tar.gz
servo-0e3b52af2761d8aa1d31320b4b342d100f50e3ca.zip
fmt
-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)
},