Function boxed_slice_as_array_unchecked
pub(in ::boxed::convert) unsafe fn boxed_slice_as_array_unchecked<T, A: Allocator, const N: usize>(boxed_slice: Box<[T], A>) -> Box<[T; N], A>
Casts a boxed slice to a boxed array.
Safety
boxed_slice.len() must be exactly N.