about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-09-29 22:20:01 +0000
committerbors <bors@rust-lang.org>2018-09-29 22:20:01 +0000
commite0a1ab6374340a4b9ca9f0c6d387763cf163526e (patch)
treecc1890b3cfaad30465d70031215e25686c501b40 /src/rustllvm/RustWrapper.cpp
parentbb0896af11bb6b79051d4b794c70f78cd45d080f (diff)
parent608c395818c18ac2a91d0f4409296b788bd4e4ef (diff)
downloadrust-e0a1ab6374340a4b9ca9f0c6d387763cf163526e.tar.gz
rust-e0a1ab6374340a4b9ca9f0c6d387763cf163526e.zip
Auto merge of #54591 - ljedrz:cleanup_typeck_rest, r=zackmdavis
A few cleanups and minor improvements to typeck

This PR complements https://github.com/rust-lang/rust/pull/54533, which was limited to `check`.

- change a few `push` loops to `extend`s
- prefer `to_owned` to `to_string` for string literals
- prefer `if let` to `match` where only one branch matters
- a few other minor improvements
- whitespace fixes
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions