Fix infinite recursion in BadIcon reporting (#3237)
This commit is contained in:
parent
5612626944
commit
81a1d9c396
1 changed files with 1 additions and 5 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue