diff options
Diffstat (limited to 'components/script')
-rw-r--r-- | components/script/dom/create.rs | 1 | ||||
-rw-r--r-- | components/script/dom/gamepad.rs | 2 | ||||
-rw-r--r-- | components/script/dom/gpubuffer.rs | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/components/script/dom/create.rs b/components/script/dom/create.rs index e1b6bb5dd3d..d64f8bf3704 100644 --- a/components/script/dom/create.rs +++ b/components/script/dom/create.rs @@ -120,6 +120,7 @@ fn create_svg_element( // https://dom.spec.whatwg.org/#concept-create-element #[allow(unsafe_code)] +#[allow(clippy::too_many_arguments)] fn create_html_element( name: QualName, prefix: Option<Prefix>, diff --git a/components/script/dom/gamepad.rs b/components/script/dom/gamepad.rs index d3a5ed914d3..87f6a01a8df 100644 --- a/components/script/dom/gamepad.rs +++ b/components/script/dom/gamepad.rs @@ -88,6 +88,7 @@ impl Gamepad { } } + #[allow(clippy::too_many_arguments)] pub fn new( global: &GlobalScope, gamepad_id: u32, @@ -115,6 +116,7 @@ impl Gamepad { /// The spec says UAs *may* do this for fingerprint mitigation, and it also /// happens to simplify implementation /// <https://www.w3.org/TR/gamepad/#fingerprinting-mitigation> + #[allow(clippy::too_many_arguments)] fn new_with_proto( global: &GlobalScope, gamepad_id: u32, diff --git a/components/script/dom/gpubuffer.rs b/components/script/dom/gpubuffer.rs index efcb08558b6..1708f46de3c 100644 --- a/components/script/dom/gpubuffer.rs +++ b/components/script/dom/gpubuffer.rs @@ -107,6 +107,7 @@ impl GPUBuffer { } } + #[allow(clippy::too_many_arguments)] pub fn new( global: &GlobalScope, channel: WebGPU, |