We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7180e6b commit 69863a4Copy full SHA for 69863a4
src/error.rs
@@ -41,16 +41,6 @@ impl Display for Error {
41
}
42
43
impl error::Error for Error {
44
- fn description(&self) -> &str {
45
- // Both underlying errors already impl `Error`, so we defer to their
46
- // implementations.
47
- match *self {
48
- Error::Generic(ref err) => err.description(),
49
- Error::FromUtf8(ref err) => err.description(),
50
- Error::ParseInt(ref err) => err.description(),
51
- }
52
53
-
54
fn cause(&self) -> Option<&dyn error::Error> {
55
match *self {
56
// N.B. Both of these implicitly cast `err` from their concrete
0 commit comments