diff --git a/src/lib.rs b/src/lib.rs index 725945d..f0a7dc7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -85,16 +85,6 @@ pub struct Image { height: NonZeroU32, } -impl Default for Image<&'static [u8], CHANNELS> { - fn default() -> Self { - Self { - buffer: &[0; CHANNELS], - width: NonZeroU32::new(1).unwrap(), - height: NonZeroU32::new(1).unwrap(), - } - } -} - impl Image { #[inline] /// get the height as a [`u32`]