diff options
Diffstat (limited to 'components/script/dom/gpudevice.rs')
-rw-r--r-- | components/script/dom/gpudevice.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/dom/gpudevice.rs b/components/script/dom/gpudevice.rs index bc47b1bdfda..d0d44e040c6 100644 --- a/components/script/dom/gpudevice.rs +++ b/components/script/dom/gpudevice.rs @@ -114,6 +114,7 @@ pub struct GPUDevice { } impl GPUDevice { + #[allow(clippy::too_many_arguments)] fn new_inherited( channel: WebGPU, adapter: &GPUAdapter, @@ -144,6 +145,7 @@ impl GPUDevice { } } + #[allow(clippy::too_many_arguments)] pub fn new( global: &GlobalScope, channel: WebGPU, |