Enable clippy::map_identity (#8731)

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

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-03-02 18:02:39 -05:00 committed by GitHub
parent d7962aa2d3
commit 52052f342b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 4 deletions

View file

@ -105,7 +105,6 @@ fn run_clippy(args: ClippyArgs) -> Result<()> {
"clippy::manual_flatten",
"clippy::map_entry",
"clippy::map_flatten",
"clippy::map_identity",
"clippy::needless_arbitrary_self_type",
"clippy::needless_borrowed_reference",
"clippy::needless_lifetimes",