diff options
author | komuhangi <51232461+jahielkomu@users.noreply.github.com> | 2024-04-01 17:53:33 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-01 14:53:33 +0000 |
commit | 0da2508e4d643e7a47ec3b83f9e97b06a3eb3bad (patch) | |
tree | 29f4ddf4b622c42d15121c47e2df5ae0b0884bae /components/script/dom/webglrenderingcontext.rs | |
parent | 8c1a72f13052ece57fcff4e424dbab58afa9b37e (diff) | |
download | servo-0da2508e4d643e7a47ec3b83f9e97b06a3eb3bad.tar.gz servo-0da2508e4d643e7a47ec3b83f9e97b06a3eb3bad.zip |
clippy: Allow `too_many_arguments` for all functions (#31962)
This is the start of preventing this in the future.
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
Diffstat (limited to 'components/script/dom/webglrenderingcontext.rs')
-rw-r--r-- | components/script/dom/webglrenderingcontext.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/components/script/dom/webglrenderingcontext.rs b/components/script/dom/webglrenderingcontext.rs index cc15c4c3dc6..c8f8a6c613a 100644 --- a/components/script/dom/webglrenderingcontext.rs +++ b/components/script/dom/webglrenderingcontext.rs @@ -747,6 +747,7 @@ impl WebGLRenderingContext { } } + #[allow(clippy::too_many_arguments)] pub fn tex_image_2d( &self, texture: &WebGLTexture, @@ -834,6 +835,7 @@ impl WebGLRenderingContext { } } + #[allow(clippy::too_many_arguments)] fn tex_sub_image_2d( &self, texture: DomRoot<WebGLTexture>, @@ -1575,6 +1577,7 @@ impl WebGLRenderingContext { constants::COLOR_ATTACHMENT0 <= attachment && attachment <= last_slot } + #[allow(clippy::too_many_arguments)] pub fn compressed_tex_image_2d( &self, target: u32, @@ -1642,6 +1645,7 @@ impl WebGLRenderingContext { } } + #[allow(clippy::too_many_arguments)] pub fn compressed_tex_sub_image_2d( &self, target: u32, |