rust/library
Matthias Krüger 9c91e2cd84
Rollup merge of #123139 - scottmcm:simpler-nonzero-get, r=jhpratt
`num::NonZero::get` can be 1 transmute instead of 2

Just something I noticed in passing.  No need for a `match` in here to call `unreachable_unchecked`, as `transmute_unchecked` will add the appropriate `llvm.assume` <https://rust.godbolt.org/z/W5hjeETnc>.
2024-03-27 23:27:25 +01:00
..
alloc Less generic code for Vec allocations 2024-03-27 15:27:47 +00:00
backtrace@6fa4b85b99
core Rollup merge of #123139 - scottmcm:simpler-nonzero-get, r=jhpratt 2024-03-27 23:27:25 +01:00
panic_abort
panic_unwind
portable-simd
proc_macro
profiler_builtins
rtstartup
rustc-std-workspace-alloc
rustc-std-workspace-core
rustc-std-workspace-std
std Some wording improvement 2024-03-27 17:26:18 +02:00
stdarch@967e7afd87
sysroot
test
unwind