diff options
| author | kennytm <kennytm@gmail.com> | 2018-08-14 23:59:12 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-14 23:59:12 +0800 |
| commit | e77d9955a0f6f7e1587e69c28d91580a426bea9a (patch) | |
| tree | 0ffea17d7694c0ad63b5d6496962db24814b6719 /src/test/incremental/thinlto | |
| parent | 764755b0b0367fcd79133f783efaebd7bcfb82a0 (diff) | |
| parent | 535bd13fe432aacccfbce058eed9b0b71aa8fab0 (diff) | |
| download | rust-e77d9955a0f6f7e1587e69c28d91580a426bea9a.tar.gz rust-e77d9955a0f6f7e1587e69c28d91580a426bea9a.zip | |
Rollup merge of #53246 - ljedrz:cleanup_various, r=kennytm
A few cleanups - change `skip(1).next()` to `nth(1)` - collapse some `if-else` expressions - remove a few explicit `return`s - remove an unnecessary field name - dereference once instead of matching on multiple references - prefer `iter().enumerate()` to indexing with `for` - remove some unnecessary lifetime annotations - use `writeln!()` instead of `write!()`+`\n` - remove redundant parentheses - shorten some enum variant names - a few other cleanups suggested by `clippy`
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
