mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +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
|
@ -3,7 +3,6 @@
|
|||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
||||
|
||||
//! Text layout.
|
||||
#![allow(clippy::too_many_arguments)]
|
||||
|
||||
use std::borrow::ToOwned;
|
||||
use std::collections::LinkedList;
|
||||
|
@ -705,6 +704,7 @@ impl RunMapping {
|
|||
|
||||
/// Flushes this run mapping to the list. `run_info` describes the text run that we're
|
||||
/// currently working on. `text` refers to the text of this fragment.
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
fn flush(
|
||||
mut self,
|
||||
mappings: &mut Vec<RunMapping>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue