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:
komuhangi 2024-04-01 17:53:33 +03:00 committed by GitHub
parent 8c1a72f130
commit 0da2508e4d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 51 additions and 0 deletions

View file

@ -30,6 +30,7 @@ pub struct TextMetrics {
#[allow(non_snake_case)]
impl TextMetrics {
#[allow(clippy::too_many_arguments)]
fn new_inherited(
width: f64,
actualBoundingBoxLeft: f64,
@ -61,6 +62,7 @@ impl TextMetrics {
}
}
#[allow(clippy::too_many_arguments)]
pub fn new(
global: &GlobalScope,
width: f64,