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,