From ec05be6300075bcb9fb22df0c1eb941075e9d454 Mon Sep 17 00:00:00 2001 From: Adavize Promise <128262752+cashall-0@users.noreply.github.com> Date: Fri, 4 Oct 2024 15:20:55 +0100 Subject: [PATCH] clippy: Fix `too_many_arguments` in `components/layout_thread_2020` (#33646) * clippy: Fix too many arguments in components/layout_thread_2020/lib.rs Signed-off-by: PS Adavize * clippy: Fix- re-add space between methods Signed-off-by: PS Adavize --------- Signed-off-by: PS Adavize --- components/layout_thread_2020/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/layout_thread_2020/lib.rs b/components/layout_thread_2020/lib.rs index 070ad845fdb..c15316f92aa 100644 --- a/components/layout_thread_2020/lib.rs +++ b/components/layout_thread_2020/lib.rs @@ -493,6 +493,7 @@ impl Layout for LayoutThread { } } +#[allow(clippy::too_many_arguments)] impl LayoutThread { fn new( id: PipelineId, @@ -586,6 +587,7 @@ impl LayoutThread { } } + #[allow(clippy::too_many_arguments)] // Create a layout context for use in building display lists, hit testing, &c. fn build_layout_context<'a>( &'a self,