diff options
Diffstat (limited to 'components/script/dom/xmldocument.rs')
-rw-r--r-- | components/script/dom/xmldocument.rs | 2 |
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, |