aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_thread_2020/lib.rs
diff options
context:
space:
mode:
authortanishka <109246904+taniishkaaa@users.noreply.github.com>2024-10-04 21:57:23 +0530
committerGitHub <noreply@github.com>2024-10-04 16:27:23 +0000
commit4850caeec49b22e9c4e9618185408882ad76832c (patch)
tree0d1792eb9515ed843a27dbb2ebcc7d1b3daba456 /components/layout_thread_2020/lib.rs
parent2234bc56a54c488d39762060b4dbd3e613c8174b (diff)
downloadservo-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_thread_2020/lib.rs')
-rw-r--r--components/layout_thread_2020/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/layout_thread_2020/lib.rs b/components/layout_thread_2020/lib.rs
index c15316f92aa..28323c04c2a 100644
--- a/components/layout_thread_2020/lib.rs
+++ b/components/layout_thread_2020/lib.rs
@@ -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>,