Enable `clippy::drain_collect` (#8745)

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

Release Notes:

- N/A
bd00aed7dbMarshall Bowers committed on 3/3/2024, 2:14:42 AM· committed by GitHubparent4097e88
2 files changedLine totals unavailable