1 2 3 4 5 6 7 8 9
use crate::IntoOwned; impl<T: IntoOwned, const N: usize> IntoOwned for [T; N] { type Owned = [T::Owned; N]; fn into_owned(self) -> Self::Owned { self.map(IntoOwned::into_owned) } }