aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/xmldocument.rs
diff options
context:
space:
mode:
authorkomuhangi <51232461+jahielkomu@users.noreply.github.com>2024-04-01 17:53:33 +0300
committerGitHub <noreply@github.com>2024-04-01 14:53:33 +0000
commit0da2508e4d643e7a47ec3b83f9e97b06a3eb3bad (patch)
tree29f4ddf4b622c42d15121c47e2df5ae0b0884bae /components/script/dom/xmldocument.rs
parent8c1a72f13052ece57fcff4e424dbab58afa9b37e (diff)
downloadservo-0da2508e4d643e7a47ec3b83f9e97b06a3eb3bad.tar.gz
servo-0da2508e4d643e7a47ec3b83f9e97b06a3eb3bad.zip
clippy: Allow `too_many_arguments` for all functions (#31962)
This is the start of preventing this in the future. Co-authored-by: Martin Robinson <mrobinson@igalia.com>
Diffstat (limited to 'components/script/dom/xmldocument.rs')
-rw-r--r--components/script/dom/xmldocument.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/dom/xmldocument.rs b/components/script/dom/xmldocument.rs
index e376c6309ab..627e0427a6a 100644
--- a/components/script/dom/xmldocument.rs
+++ b/components/script/dom/xmldocument.rs
@@ -28,6 +28,7 @@ pub struct XMLDocument {
}
impl XMLDocument {
+ #[allow(clippy::too_many_arguments)]
fn new_inherited(
window: &Window,
has_browsing_context: HasBrowsingContext,
@@ -59,6 +60,7 @@ impl XMLDocument {
}
}
+ #[allow(clippy::too_many_arguments)]
pub fn new(
window: &Window,
has_browsing_context: HasBrowsingContext,