mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +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
|
@ -2,8 +2,6 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#![allow(clippy::too_many_arguments)]
|
||||
|
||||
use std::collections::{HashMap, HashSet};
|
||||
|
||||
use euclid::Size2D;
|
||||
|
@ -81,6 +79,7 @@ pub struct BrowsingContext {
|
|||
impl BrowsingContext {
|
||||
/// Create a new browsing context.
|
||||
/// Note this just creates the browsing context, it doesn't add it to the constellation's set of browsing contexts.
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
pub fn new(
|
||||
bc_group_id: BrowsingContextGroupId,
|
||||
id: BrowsingContextId,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue