about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/coverage/json.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-08-14 09:23:22 +0000
committerbors <bors@rust-lang.org>2020-08-14 09:23:22 +0000
commit6b2ca8457a0f6450896c669caf880090a18d1541 (patch)
treee57c6a74533ce74bdbff555de0259d6290b09681 /src/test/rustdoc-ui/coverage/json.rs
parent43bec40138bab10c08ac916bff2f2f81b2b70669 (diff)
parentfd63bf7262d616e8fb5d3465a736434ddc81ff99 (diff)
downloadrust-6b2ca8457a0f6450896c669caf880090a18d1541.tar.gz
rust-6b2ca8457a0f6450896c669caf880090a18d1541.zip
Auto merge of #75503 - JulianKnodt:opt_opt, r=oli-obk
Clean up some mir transform passes

I noticed a few places where there were intermediates being created
in MIR optimization passes, so I removed them.

I also changed some `Some(..)` into just `..` and wrap `Some(..)` at the function end, doing early returns for `None`.

I was generally looking for some easy optimizations in theses passes, and hopefully these should improve the runtime of these passes by a tinnnyyyyy bit.

r? @oli-obk
Diffstat (limited to 'src/test/rustdoc-ui/coverage/json.rs')
0 files changed, 0 insertions, 0 deletions