Enable clippy::unnecessary_filter_map
(#8738)
This PR enables the [`clippy::unnecessary_filter_map`](https://rust-lang.github.io/rust-clippy/master/index.html#/unnecessary_filter_map) rule and fixes the outstanding violations. Release Notes: - N/A
This commit is contained in:
parent
a17c207217
commit
f79f56f8b4
7 changed files with 34 additions and 46 deletions
|
@ -124,7 +124,6 @@ fn run_clippy(args: ClippyArgs) -> Result<()> {
|
|||
"clippy::suspicious_to_owned",
|
||||
"clippy::type_complexity",
|
||||
"clippy::unit_arg",
|
||||
"clippy::unnecessary_filter_map",
|
||||
"clippy::unnecessary_find_map",
|
||||
"clippy::unnecessary_operation",
|
||||
"clippy::unnecessary_to_owned",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue