about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-06-23 20:10:35 +0000
committerbors <bors@rust-lang.org>2018-06-23 20:10:35 +0000
commit60efbdead6b65d7fd8ebfd564c86de4594ef0076 (patch)
treeb7b69402c0cfdba0db734f3c0059ec3fb1b05676 /src/libstd
parent4fe88c05cd14fa182fd58cc68127f98aca77d1ff (diff)
parent11341e2b069d70710cc0625c4bd3be6f851e04c7 (diff)
downloadrust-60efbdead6b65d7fd8ebfd564c86de4594ef0076.tar.gz
rust-60efbdead6b65d7fd8ebfd564c86de4594ef0076.zip
Auto merge of #51653 - mglagla:option-unreachable, r=dtolnay
Option::get_or_insert(_with): Replace unreachable! with unreachable_unchecked

Optimize codegen for both functions as the None branch is trivially not reachable.
Diffstat (limited to 'src/libstd')
0 files changed, 0 insertions, 0 deletions