mirror of
https://github.com/servo/servo
synced 2026-04-26 01:25:32 +02: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:
@@ -28,6 +28,7 @@ pub struct XMLDocument {
|
||||
}
|
||||
|
||||
impl XMLDocument {
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
fn new_inherited(
|
||||
window: &Window,
|
||||
has_browsing_context: HasBrowsingContext,
|
||||
@@ -59,6 +60,7 @@ impl XMLDocument {
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
pub fn new(
|
||||
window: &Window,
|
||||
has_browsing_context: HasBrowsingContext,
|
||||
|
||||
Reference in New Issue
Block a user