Enable `clippy::manual_flatten` (#8739)

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

Release Notes:

- N/A
503bebaaccMarshall Bowers committed on 3/3/2024, 1:28:26 AM· committed by GitHubparentf79f56f
5 files changedLine totals unavailable