Enable clippy::redundant_locals (#8750)

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

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-03-02 21:57:40 -05:00 committed by GitHub
parent 328c8a94b3
commit d19957b705
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 0 additions and 6 deletions

View file

@ -111,7 +111,6 @@ fn run_clippy(args: ClippyArgs) -> Result<()> {
"clippy::option_map_unit_fn",
"clippy::redundant_closure_call",
"clippy::redundant_guards",
"clippy::redundant_locals",
"clippy::reversed_empty_ranges",
"clippy::single_range_in_vec_init",
"clippy::suspicious_to_owned",