Enable clippy::filter_map_identity (#8741)

This PR enables the
[`clippy::filter_map_identity`](https://rust-lang.github.io/rust-clippy/master/index.html#/filter_map_identity)
rule and fixes the outstanding violations.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-03-02 20:48:29 -05:00 committed by GitHub
parent 3e287911c3
commit 2bfc646f33
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 2 additions and 6 deletions

View file

@ -95,7 +95,6 @@ fn run_clippy(args: ClippyArgs) -> Result<()> {
"clippy::explicit_auto_deref",
"clippy::explicit_counter_loop",
"clippy::extra_unused_lifetimes",
"clippy::filter_map_identity",
"clippy::identity_op",
"clippy::implied_bounds_in_impls",
"clippy::iter_kv_map",