aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/gpubuffer.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/gpubuffer.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/gpubuffer.rs')
-rw-r--r--components/script/dom/gpubuffer.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/gpubuffer.rs b/components/script/dom/gpubuffer.rs
index 430cf031cbb..efdc2e87a77 100644
--- a/components/script/dom/gpubuffer.rs
+++ b/components/script/dom/gpubuffer.rs
@@ -98,6 +98,7 @@ impl GPUBuffer {
}
}
+ #[allow(clippy::too_many_arguments)]
pub fn new(
global: &GlobalScope,
channel: WebGPU,