mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +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
|
@ -255,6 +255,7 @@ pub struct TexImage2DValidator<'a> {
|
|||
|
||||
impl<'a> TexImage2DValidator<'a> {
|
||||
// TODO: Move data validation logic here.
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
pub fn new(
|
||||
context: &'a WebGLRenderingContext,
|
||||
target: u32,
|
||||
|
@ -386,6 +387,7 @@ pub struct CommonCompressedTexImage2DValidator<'a> {
|
|||
}
|
||||
|
||||
impl<'a> CommonCompressedTexImage2DValidator<'a> {
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
pub fn new(
|
||||
context: &'a WebGLRenderingContext,
|
||||
target: u32,
|
||||
|
@ -509,6 +511,7 @@ pub struct CompressedTexImage2DValidator<'a> {
|
|||
}
|
||||
|
||||
impl<'a> CompressedTexImage2DValidator<'a> {
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
pub fn new(
|
||||
context: &'a WebGLRenderingContext,
|
||||
target: u32,
|
||||
|
@ -585,6 +588,7 @@ pub struct CompressedTexSubImage2DValidator<'a> {
|
|||
}
|
||||
|
||||
impl<'a> CompressedTexSubImage2DValidator<'a> {
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
pub fn new(
|
||||
context: &'a WebGLRenderingContext,
|
||||
target: u32,
|
||||
|
@ -697,6 +701,7 @@ pub struct TexStorageValidatorResult {
|
|||
}
|
||||
|
||||
impl<'a> TexStorageValidator<'a> {
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
pub fn new(
|
||||
context: &'a WebGLRenderingContext,
|
||||
dimensions: u8,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue