Enable clippy::map_flatten (#8733)

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

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-03-02 18:24:22 -05:00 committed by GitHub
parent 8bc35c33c5
commit eaf2fbb21b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 13 additions and 26 deletions

View file

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