about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-09-15 02:56:13 +0000
committerbors <bors@rust-lang.org>2018-09-15 02:56:13 +0000
commited45f9cbf48d67ea4ca36d71b7c28c4768fb36de (patch)
treec3bacbc615bf711f7dd822e074303167d79c788c /src/test/incremental/thinlto
parentf789b6bd6dc01a4412819c0733a6c99e092446fe (diff)
parent2919ecdb5c0b74f64b2a4b71ef39cb44df6c9606 (diff)
downloadrust-ed45f9cbf48d67ea4ca36d71b7c28c4768fb36de.tar.gz
rust-ed45f9cbf48d67ea4ca36d71b7c28c4768fb36de.zip
Auto merge of #54151 - ljedrz:cleanup_hir, r=michaelwoerister
A few cleanups for hir

- prefer `if let` to `match` when only 1 branch matters
- `chain` iterable items that are looped over in sequence
- `sort_by_key` instead of `sort_by` when possible
- change cloning `map`s to `cloned()`
- use `unwrap_or_else` and `ok` when applicable
- a few other minor readability improvements
- whitespace fixes
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions