mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
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>
This commit is contained in:
parent
8c1a72f130
commit
0da2508e4d
23 changed files with 51 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue