]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #64942 - JohnTitor:fix-clippy, r=eddyb
authorTyler Mandry <tmandry@gmail.com>
Wed, 2 Oct 2019 06:06:19 +0000 (23:06 -0700)
committerGitHub <noreply@github.com>
Wed, 2 Oct 2019 06:06:19 +0000 (23:06 -0700)
commit73aa2bd70707fe90f11b89a122c202bbb4eac93c
tree6ee019b419d2a103156a9ca9ca4d8d9137d0bdbb
parent76fb91be84e93f6d34a428d997e92fcbf4a19f23
parentf10d2e2d23e6a47bb7d3df17d4fbe067f8c99ea9
Rollup merge of #64942 - JohnTitor:fix-clippy, r=eddyb

Fix clippy warnings

* Use `match` instead of `if` chain
* Remove redundant `into_iter()`
* Use `copied()` instead of `map()`

etc.