mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
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>
This commit is contained in:
parent
8c1a72f130
commit
0da2508e4d
23 changed files with 51 additions and 0 deletions
|
@ -219,6 +219,7 @@ impl WorkerEventLoopMethods for ServiceWorkerGlobalScope {
|
|||
}
|
||||
|
||||
impl ServiceWorkerGlobalScope {
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
fn new_inherited(
|
||||
init: WorkerGlobalScopeInit,
|
||||
worker_url: ServoUrl,
|
||||
|
@ -253,6 +254,7 @@ impl ServiceWorkerGlobalScope {
|
|||
}
|
||||
|
||||
#[allow(unsafe_code)]
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
pub fn new(
|
||||
init: WorkerGlobalScopeInit,
|
||||
worker_url: ServoUrl,
|
||||
|
@ -285,6 +287,7 @@ impl ServiceWorkerGlobalScope {
|
|||
|
||||
#[allow(unsafe_code)]
|
||||
// https://w3c.github.io/ServiceWorker/#run-service-worker-algorithm
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
pub fn run_serviceworker_scope(
|
||||
scope_things: ScopeThings,
|
||||
own_sender: Sender<ServiceWorkerScriptMsg>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue