about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-10-01 16:13:00 +0800
committerGitHub <noreply@github.com>2018-10-01 16:13:00 +0800
commit41706ff12b39e5efaf97f6a0b6163bc521815cb7 (patch)
tree00922776a31f128e6a272b3cc2f1f532dba717a3 /src/rustllvm/RustWrapper.cpp
parent5bfd085cd28095ae2549f286fd856c3e6bd5c1b0 (diff)
parent52da88639e515dabe4927706025adf976d9cd2b7 (diff)
downloadrust-41706ff12b39e5efaf97f6a0b6163bc521815cb7.tar.gz
rust-41706ff12b39e5efaf97f6a0b6163bc521815cb7.zip
Rollup merge of #54641 - ljedrz:cleanup_rustc_infer, r=estebank
A few cleanups and minor improvements to rustc/infer

- use unwrap_or(_else) where applicable
- convert single-branch matches to if-let
- use to_owned instead of to_string with string literals
- improve vector allocations
- readability improvements
- miscellaneous minor code improvements
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions