#[cfg(not(any(feature = "std", feature = "alloc")))]
compile_error!("expected either `std` or `alloc` to be enabled");
#[cfg(all(not(feature = "std"), feature = "alloc"))]
use alloc::vec::Vec;
use crate::{IntoOwned, iterable::recollect};
impl<T: IntoOwned> IntoOwned for Vec<T> {
type Owned = Vec<T::Owned>;
fn into_owned(self) -> Self::Owned {
recollect(self)
}
}