diff options
| author | bors <bors@rust-lang.org> | 2022-03-03 13:36:49 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-03-03 13:36:49 +0000 |
| commit | d56f457715a603be36e454945b5b3d3ab0a7ccdc (patch) | |
| tree | 305bb8f135dbc6f5a51382e2c85abad70b8ac35d /src/test/codegen/src-hash-algorithm | |
| parent | ef4af1d2d8c5048501fae24dbc34836c841e7d6e (diff) | |
| parent | 6cc2eeaa56b6f37f6c44a39e8b137fb22731aedc (diff) | |
| download | rust-d56f457715a603be36e454945b5b3d3ab0a7ccdc.tar.gz rust-d56f457715a603be36e454945b5b3d3ab0a7ccdc.zip | |
Auto merge of #8483 - ldm0:iter_with_drain_simple, r=flip1995,giraffate
Use `.into_iter()` rather than `.drain(..)` Replacing `.drain(..)` with `.into_iter()` makes my project's binary size smaller. Fixes #1908 Applicability of this suggestion is `MaybeIncorrect` rather than `MachineApplicable` due to the complexity of "checking otherwise usage" X-| changelog: Add new lint [`iter_with_drain`]
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
