mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
clippy: Fix too_many_arguments warnings (#33648)
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
This commit is contained in:
parent
2234bc56a5
commit
4850caeec4
8 changed files with 13 additions and 0 deletions
|
@ -88,6 +88,7 @@ impl Gamepad {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
pub fn new(
|
||||
global: &GlobalScope,
|
||||
gamepad_id: u32,
|
||||
|
@ -115,6 +116,7 @@ impl Gamepad {
|
|||
/// The spec says UAs *may* do this for fingerprint mitigation, and it also
|
||||
/// happens to simplify implementation
|
||||
/// <https://www.w3.org/TR/gamepad/#fingerprinting-mitigation>
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
fn new_with_proto(
|
||||
global: &GlobalScope,
|
||||
gamepad_id: u32,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue