Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>`.
- Loading branch information