aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_2020/flexbox/layout.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout_2020/flexbox/layout.rs')
-rw-r--r--components/layout_2020/flexbox/layout.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/layout_2020/flexbox/layout.rs b/components/layout_2020/flexbox/layout.rs
index 5aab37df248..c5de3cec694 100644
--- a/components/layout_2020/flexbox/layout.rs
+++ b/components/layout_2020/flexbox/layout.rs
@@ -102,6 +102,7 @@ impl FlexItemLayoutResult {
.unwrap_or_else(|| item.synthesized_baseline_relative_to_margin_box(cross_size))
}
+ #[allow(clippy::too_many_arguments)]
fn collect_fragment(
mut self,
initial_flex_layout: &InitialFlexLineLayout,
@@ -2201,6 +2202,7 @@ impl FlexItemBox {
}
/// This is an implementation of <https://drafts.csswg.org/css-flexbox/#min-size-auto>.
+ #[allow(clippy::too_many_arguments)]
fn automatic_min_size(
&mut self,
layout_context: &LayoutContext,
@@ -2307,6 +2309,7 @@ impl FlexItemBox {
}
/// <https://drafts.csswg.org/css-flexbox/#algo-main-item>
+ #[allow(clippy::too_many_arguments)]
fn flex_base_size(
&mut self,
layout_context: &LayoutContext,
@@ -2457,6 +2460,7 @@ impl FlexItemBox {
}
}
+ #[allow(clippy::too_many_arguments)]
fn layout_for_block_content_size(
&mut self,
flex_context: &FlexContext,