Enable clippy::explicit_counter_loop (#8776)

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

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-03-03 11:40:22 -05:00 committed by GitHub
parent 08f9c3f568
commit 1fa9496334
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 5 deletions

View file

@ -89,7 +89,6 @@ fn run_clippy(args: ClippyArgs) -> Result<()> {
"clippy::derivable_impls",
"clippy::derive_ord_xor_partial_ord",
"clippy::eq_op",
"clippy::explicit_counter_loop",
"clippy::implied_bounds_in_impls",
"clippy::iter_kv_map",
"clippy::iter_overeager_cloned",