#[inline]
pub fn into_boxed_slice(self) -> Box<[T]> {
self.into_vec().into_boxed_slice()
}
and also
pub fn into_vec(self) -> Vec<T> {
Both are UBs.
Whoops, I thought I left all the stdlib-interacting functions only implemented for SmallVec<_, Global> (from_vec is correct).
Originally posted by @bolshoytoster in #630 (comment)
Whoops, I thought I left all the stdlib-interacting functions only implemented for
SmallVec<_, Global>(from_vecis correct).Originally posted by @bolshoytoster in #630 (comment)