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
This commit is contained in:
Marshall Bowers 2024-03-02 23:31:58 -05:00 committed by GitHub
parent 373e18bc88
commit 33790b81fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 70 additions and 46 deletions

View file

@ -113,7 +113,6 @@ fn run_clippy(args: ClippyArgs) -> Result<()> {
"clippy::type_complexity",
"clippy::unnecessary_to_owned",
"clippy::useless_conversion",
"clippy::useless_format",
"clippy::vec_init_then_push",
];