From 0da2508e4d643e7a47ec3b83f9e97b06a3eb3bad Mon Sep 17 00:00:00 2001 From: komuhangi <51232461+jahielkomu@users.noreply.github.com> Date: Mon, 1 Apr 2024 17:53:33 +0300 Subject: clippy: Allow `too_many_arguments` for all functions (#31962) This is the start of preventing this in the future. Co-authored-by: Martin Robinson --- components/script/script_thread.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'components/script/script_thread.rs') 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, -- cgit v1.2.3