aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/touch.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/touch.rs')
-rw-r--r--components/script/dom/touch.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/dom/touch.rs b/components/script/dom/touch.rs
index eb0b6c84d74..fcb1c1bee86 100644
--- a/components/script/dom/touch.rs
+++ b/components/script/dom/touch.rs
@@ -25,6 +25,7 @@ pub struct Touch {
}
impl Touch {
+ #[allow(clippy::too_many_arguments)]
fn new_inherited(
identifier: i32,
target: &EventTarget,
@@ -48,6 +49,7 @@ impl Touch {
}
}
+ #[allow(clippy::too_many_arguments)]
pub fn new(
window: &Window,
identifier: i32,