diff options
| author | Philipp Krones <hello@philkrones.com> | 2020-08-04 12:06:38 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-04 12:06:38 +0200 |
| commit | ca2a25d966de0007dea8676833da1c764c9d5e00 (patch) | |
| tree | 1bd39a72f1de262739acaea0b5ae76f4fa842f42 /src/test/rustdoc-ui/coverage/json.rs | |
| parent | 1968aede0f3deab97347bcc936ecee5e3c3471c7 (diff) | |
| parent | 5e10b039a3f215b48a54ce7dd38f95115f92e55a (diff) | |
| download | rust-ca2a25d966de0007dea8676833da1c764c9d5e00.tar.gz rust-ca2a25d966de0007dea8676833da1c764c9d5e00.zip | |
Rollup merge of #5837 - JarredAllen:needless_collect, r=phansch
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.
Diffstat (limited to 'src/test/rustdoc-ui/coverage/json.rs')
0 files changed, 0 insertions, 0 deletions
