diff options
author | tanishka <109246904+taniishkaaa@users.noreply.github.com> | 2024-10-04 21:57:23 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-04 16:27:23 +0000 |
commit | 4850caeec49b22e9c4e9618185408882ad76832c (patch) | |
tree | 0d1792eb9515ed843a27dbb2ebcc7d1b3daba456 /components/layout_2020/flexbox/layout.rs | |
parent | 2234bc56a54c488d39762060b4dbd3e613c8174b (diff) | |
download | servo-4850caeec49b22e9c4e9618185408882ad76832c.tar.gz servo-4850caeec49b22e9c4e9618185408882ad76832c.zip |
clippy: Fix too_many_arguments warnings (#33648)
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
Diffstat (limited to 'components/layout_2020/flexbox/layout.rs')
-rw-r--r-- | components/layout_2020/flexbox/layout.rs | 4 |
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, |