about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2020-06-17 16:30:27 -0700
committerJosh Stone <jistone@redhat.com>2020-06-17 16:30:27 -0700
commita7c2cf8f510788040c4a8a721582a3533d0bf35a (patch)
tree3f49d65686178b224cb4c91a2ef9a07929c00a4e /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent2935d294ff862fdf96578d0cbbdc289e8e7ba81c (diff)
downloadrust-a7c2cf8f510788040c4a8a721582a3533d0bf35a.tar.gz
rust-a7c2cf8f510788040c4a8a721582a3533d0bf35a.zip
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/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions