diff --git a/src/base/array_storage.rs b/src/base/array_storage.rs index 3bc71e1a..ae7a2e3b 100644 --- a/src/base/array_storage.rs +++ b/src/base/array_storage.rs @@ -1,4 +1,4 @@ -use std::fmt::{self, Debug, Formatter}; +use std::fmt::Debug; // use std::hash::{Hash, Hasher}; use std::ops::Mul; @@ -26,7 +26,7 @@ use std::mem; */ /// A array-based statically sized matrix data storage. #[repr(transparent)] -#[derive(Copy, Clone, PartialEq, Eq, Hash)] +#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash)] #[cfg_attr(feature = "rkyv-serialize", derive(bytecheck::CheckBytes))] #[cfg_attr( feature = "rkyv-serialize-no-std", @@ -62,13 +62,6 @@ where } } -impl Debug for ArrayStorage { - #[inline] - fn fmt(&self, fmt: &mut Formatter<'_>) -> fmt::Result { - self.0.fmt(fmt) - } -} - unsafe impl RawStorage, Const> for ArrayStorage {