Enable `clippy::useless_format` (#8758)

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

Release Notes:

- N/A
33790b81fcMarshall Bowers committed on 3/3/2024, 4:31:58 AM· committed by GitHubparent373e18b
12 files changedLine totals unavailable