use core::default; use super::Array; use generic_array::{ArrayLength, GenericArray}; impl Array for GenericArray { type Item = T; const CAPACITY: usize = N::USIZE; #[inline(always)] #[must_use] fn as_slice(&self) -> &[T] { &*self } #[inline(always)] #[must_use] fn as_slice_mut(&mut self) -> &mut [T] { &mut *self } #[inline(always)] fn default() -> Self { ::default() } }