mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-30 17:34:54 +00:00
ca2a25d966
needless_collect: catch x: Vec<_> = iter.collect(); x.into_iter() ... changelog: Expand the needless_collect lint as suggested in #5627 (WIP). This PR is WIP because I can't figure out how to make the multi-part suggestion include its changes in the source code (the fixed is identical to the source, despite the lint making suggestions). Aside from that one issue, I think this should be good. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |