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
52052f342bMarshall Bowers committed on 3/2/2024, 11:02:39 PM· committed by GitHubparentd7962aa
3 files changedLine totals unavailable