Skip to content

Commit 4dcd853

Browse files
committed
remove Error::description from errors
1 parent 1966a30 commit 4dcd853

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/util/mod.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,7 @@ macro_rules! error_type {
4343
}
4444
}
4545

46-
impl ::std::error::Error for $name {
47-
fn description(&self) -> &str {
48-
stringify!($name)
49-
}
50-
}
46+
impl ::std::error::Error for $name {}
5147
};
5248
}
5349

0 commit comments

Comments
 (0)