rust-clippy icon indicating copy to clipboard operation
rust-clippy copied to clipboard

feat(unnecessary_fold): lint on `fold`s with `Add::add`/`Mul::mul`

Open ada4a opened this issue 1 month ago • 4 comments

Resurrects https://github.com/rust-lang/rust-clippy/pull/13475

changelog: [unnecessary_fold]: lint on folds with Add::add/Mul::mul

ada4a avatar Nov 21 '25 10:11 ada4a

r? @Jarcho

rustbot has assigned @Jarcho. They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

rustbot avatar Nov 21 '25 10:11 rustbot

Reminder, once the PR becomes ready for a review, use @rustbot ready.

rustbot avatar Nov 26 '25 20:11 rustbot

@rustbot ready

ada4a avatar Nov 27 '25 21:11 ada4a

This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

rustbot avatar Dec 10 '25 18:12 rustbot