diff --git a/src/conversions.rs b/src/conversions.rs index 335c8e9..2c95560 100644 --- a/src/conversions.rs +++ b/src/conversions.rs @@ -1,6 +1,7 @@ use { crate::{ Allocator, + Box, SmallVec, Vec }, @@ -100,3 +101,15 @@ impl From> for SmallVec { Self::from_vec(array) } } + +impl From> for Vec { + fn from(this: SmallVec) -> Self { + this.into_vec() + } +} + +impl From> for Box<[T]> { + fn from(this: SmallVec) -> Self { + this.into_boxed_slice() + } +}