about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2020-06-19 08:56:15 +0200
committerGitHub <noreply@github.com>2020-06-19 08:56:15 +0200
commitfc2ce7cfef1d6f239304ecde52e532fee6045369 (patch)
tree979e6715e5dbb2d21918e40b46abe017c1c4752b /src/libstd/sys/unix/stack_overflow.rs
parent7d3238f9b9f7dda8b20285bb82bf12175d899f73 (diff)
parenta7c2cf8f510788040c4a8a721582a3533d0bf35a (diff)
downloadrust-fc2ce7cfef1d6f239304ecde52e532fee6045369.tar.gz
rust-fc2ce7cfef1d6f239304ecde52e532fee6045369.zip
Rollup merge of #73459 - cuviper:into_boxed_slice-unicast, r=dtolnay
Reduce pointer casts in Box::into_boxed_slice

We only need to cast the pointer once to change `Box<T>` to an array
`Box<[T; 1]>`, then we can let unsized coercion return `Box<[T]>`.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions