Skip to content

Commit 580fe2f

Browse files
committed
add impl std::error::Error for Error
1 parent 38b13aa commit 580fe2f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/error.rs

+2
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ impl fmt::Display for Error {
4949
}
5050
}
5151

52+
impl std::error::Error for Error {}
53+
5254
macro_rules! error_wrap {
5355
($f: ty, $e: expr) => {
5456
impl From<$f> for Error {

0 commit comments

Comments
 (0)