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 <siyakapromise@gmail.com>

* clippy: Fix- re-add space between methods

Signed-off-by: PS Adavize <siyakapromise@gmail.com>

---------

Signed-off-by: PS Adavize <siyakapromise@gmail.com>
This commit is contained in:
Adavize Promise 2024-10-04 15:20:55 +01:00 committed by GitHub
parent 48f8ff6236
commit ec05be6300
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,