Skip to content

Commit

Permalink
remove Error::description from errors
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar committed Jan 24, 2020
1 parent 1966a30 commit 4dcd853
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/util/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,7 @@ macro_rules! error_type {
}
}

impl ::std::error::Error for $name {
fn description(&self) -> &str {
stringify!($name)
}
}
impl ::std::error::Error for $name {}
};
}

Expand Down

0 comments on commit 4dcd853

Please sign in to comment.