aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/gpudevice.rs
diff options
context:
space:
mode:
authoreri <eri@inventati.org>2024-04-02 14:50:45 +0200
committerGitHub <noreply@github.com>2024-04-02 12:50:45 +0000
commitcc082efbfd5b86c0da53c36b0020dfdaced012e7 (patch)
tree93134401179c675c7e80246514864de54aa0a1bc /components/script/dom/gpudevice.rs
parentf613159cbadc57aa79a2bc9925514feab0c61b36 (diff)
downloadservo-cc082efbfd5b86c0da53c36b0020dfdaced012e7.tar.gz
servo-cc082efbfd5b86c0da53c36b0020dfdaced012e7.zip
clippy: Allow `too_many_arguments` for existing functions (#31974)
* Allow `too_many_arguments` for existing functions * fix: Surround ASCII with code block in rustdoc
Diffstat (limited to 'components/script/dom/gpudevice.rs')
-rw-r--r--components/script/dom/gpudevice.rs2
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,