aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_thread.rs
diff options
context:
space:
mode:
authorkomuhangi <51232461+jahielkomu@users.noreply.github.com>2024-04-01 17:53:33 +0300
committerGitHub <noreply@github.com>2024-04-01 14:53:33 +0000
commit0da2508e4d643e7a47ec3b83f9e97b06a3eb3bad (patch)
tree29f4ddf4b622c42d15121c47e2df5ae0b0884bae /components/script/script_thread.rs
parent8c1a72f13052ece57fcff4e424dbab58afa9b37e (diff)
downloadservo-0da2508e4d643e7a47ec3b83f9e97b06a3eb3bad.tar.gz
servo-0da2508e4d643e7a47ec3b83f9e97b06a3eb3bad.zip
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>
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r--components/script/script_thread.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs
index 84bf1b36918..60169c9ea1f 100644
--- a/components/script/script_thread.rs
+++ b/components/script/script_thread.rs
@@ -225,6 +225,7 @@ struct InProgressLoad {
impl InProgressLoad {
/// Create a new InProgressLoad object.
+ #[allow(clippy::too_many_arguments)]
fn new(
id: PipelineId,
browsing_context_id: BrowsingContextId,
@@ -3645,6 +3646,7 @@ impl ScriptThread {
ScriptThread::set_user_interacting(false);
}
+ #[allow(clippy::too_many_arguments)]
fn handle_mouse_event(
&self,
pipeline_id: PipelineId,