clippy: Fix too_many_arguments warnings (#33648)

Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
This commit is contained in:
tanishka 2024-10-04 21:57:23 +05:30 committed by GitHub
parent 2234bc56a5
commit 4850caeec4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 13 additions and 0 deletions

View file

@ -495,6 +495,7 @@ impl Layout for LayoutThread {
#[allow(clippy::too_many_arguments)]
impl LayoutThread {
#[allow(clippy::too_many_arguments)]
fn new(
id: PipelineId,
url: ServoUrl,
@ -589,6 +590,7 @@ impl LayoutThread {
#[allow(clippy::too_many_arguments)]
// Create a layout context for use in building display lists, hit testing, &c.
#[allow(clippy::too_many_arguments)]
fn build_layout_context<'a>(
&'a self,
guards: StylesheetGuards<'a>,