aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/compositionevent.rs
diff options
context:
space:
mode:
authoreri <eri@inventati.org>2024-04-02 14:50:45 +0200
committerGitHub <noreply@github.com>2024-04-02 12:50:45 +0000
commitcc082efbfd5b86c0da53c36b0020dfdaced012e7 (patch)
tree93134401179c675c7e80246514864de54aa0a1bc /components/script/dom/compositionevent.rs
parentf613159cbadc57aa79a2bc9925514feab0c61b36 (diff)
downloadservo-cc082efbfd5b86c0da53c36b0020dfdaced012e7.tar.gz
servo-cc082efbfd5b86c0da53c36b0020dfdaced012e7.zip
clippy: Allow `too_many_arguments` for existing functions (#31974)
* Allow `too_many_arguments` for existing functions * fix: Surround ASCII with code block in rustdoc
Diffstat (limited to 'components/script/dom/compositionevent.rs')
-rw-r--r--components/script/dom/compositionevent.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/compositionevent.rs b/components/script/dom/compositionevent.rs
index 2f4cc05943b..5061f187141 100644
--- a/components/script/dom/compositionevent.rs
+++ b/components/script/dom/compositionevent.rs
@@ -48,6 +48,7 @@ impl CompositionEvent {
)
}
+ #[allow(clippy::too_many_arguments)]
fn new_with_proto(
window: &Window,
proto: Option<HandleObject>,