mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
clippy: Allow too_many_arguments
for existing functions (#31974)
* Allow `too_many_arguments` for existing functions * fix: Surround ASCII with code block in rustdoc
This commit is contained in:
parent
f613159cba
commit
cc082efbfd
36 changed files with 86 additions and 64 deletions
|
@ -84,8 +84,6 @@
|
|||
//!
|
||||
//! See <https://github.com/servo/servo/issues/14704>
|
||||
|
||||
#![allow(clippy::too_many_arguments)]
|
||||
|
||||
use std::borrow::{Cow, ToOwned};
|
||||
use std::collections::hash_map::Entry;
|
||||
use std::collections::{HashMap, HashSet, VecDeque};
|
||||
|
@ -615,6 +613,7 @@ where
|
|||
SWF: ServiceWorkerManagerFactory,
|
||||
{
|
||||
/// Create a new constellation thread.
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
pub fn start(
|
||||
state: InitialConstellationState,
|
||||
layout_factory: Arc<dyn LayoutFactory>,
|
||||
|
@ -941,6 +940,7 @@ where
|
|||
}
|
||||
|
||||
/// Helper function for creating a pipeline
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
fn new_pipeline(
|
||||
&mut self,
|
||||
pipeline_id: PipelineId,
|
||||
|
@ -1126,6 +1126,7 @@ where
|
|||
}
|
||||
|
||||
/// Create a new browsing context and update the internal bookkeeping.
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
fn new_browsing_context(
|
||||
&mut self,
|
||||
browsing_context_id: BrowsingContextId,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue