Upgrade map_flatten to complexity

This commit is contained in:
Cameron Steffen 2021-12-01 08:38:54 -06:00
parent 8ad56c8fb7
commit de9de4fef1
9 changed files with 30 additions and 24 deletions

View file

@ -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"
}