diff --git a/src/icon.rs b/src/icon.rs index 2927665935..b61cdd3b7f 100644 --- a/src/icon.rs +++ b/src/icon.rs @@ -49,11 +49,7 @@ impl fmt::Display for BadIcon { } } -impl Error for BadIcon { - fn source(&self) -> Option<&(dyn Error + 'static)> { - Some(self) - } -} +impl Error for BadIcon {} #[derive(Debug, Clone, PartialEq, Eq)] pub(crate) struct RgbaIcon {