Enable clippy::needless_update (#8830)

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

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-03-04 10:35:07 -05:00 committed by GitHub
parent 94593dca4b
commit 16be391211
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 0 additions and 6 deletions

View file

@ -93,7 +93,6 @@ fn run_clippy(args: ClippyArgs) -> Result<()> {
"clippy::iter_overeager_cloned",
"clippy::let_underscore_future",
"clippy::map_entry",
"clippy::needless_update",
"clippy::never_loop",
"clippy::non_canonical_clone_impl",
"clippy::non_canonical_partial_ord_impl",