mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +00:00
ee67c79598
new lint: `drain_collect` Closes #10818. This adds a new lint that looks for `.drain(..).collect()` and suggests replacing it with `mem::take`. changelog: [`drain_collect`]: new lint |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |