Upgrade map_flatten to complexity
This commit is contained in:
parent
8ad56c8fb7
commit
de9de4fef1
9 changed files with 30 additions and 24 deletions
|
|
@ -543,7 +543,7 @@ declare_clippy_lint! {
|
|||
/// ```
|
||||
#[clippy::version = "1.31.0"]
|
||||
pub MAP_FLATTEN,
|
||||
pedantic,
|
||||
complexity,
|
||||
"using combinations of `flatten` and `map` which can usually be written as a single method call"
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue