diff --git a/src/scale/bitmap/png.rs b/src/scale/bitmap/png.rs index 5655ff1..869d1e6 100644 --- a/src/scale/bitmap/png.rs +++ b/src/scale/bitmap/png.rs @@ -26,16 +26,6 @@ pub enum DecodeError { CorruptData, /// An "end of file" was reached prematurely. UnexpectedEof, - #[cfg(feature = "std")] - /// Underlying IO error. - Io(std::io::Error), -} - -#[cfg(feature = "std")] -impl From for DecodeError { - fn from(e: std::io::Error) -> Self { - Self::Io(e) - } } impl From for DecodeError {