diff options
author | eri <eri@inventati.org> | 2024-04-02 14:50:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-02 12:50:45 +0000 |
commit | cc082efbfd5b86c0da53c36b0020dfdaced012e7 (patch) | |
tree | 93134401179c675c7e80246514864de54aa0a1bc /components/layout/text.rs | |
parent | f613159cbadc57aa79a2bc9925514feab0c61b36 (diff) | |
download | servo-cc082efbfd5b86c0da53c36b0020dfdaced012e7.tar.gz servo-cc082efbfd5b86c0da53c36b0020dfdaced012e7.zip |
clippy: Allow `too_many_arguments` for existing functions (#31974)
* Allow `too_many_arguments` for existing functions
* fix: Surround ASCII with code block in rustdoc
Diffstat (limited to 'components/layout/text.rs')
-rw-r--r-- | components/layout/text.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/text.rs b/components/layout/text.rs index 6375f71f8e4..b83357c2cf0 100644 --- a/components/layout/text.rs +++ b/components/layout/text.rs @@ -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>, |