Commit
+2 -0 +/-1 browse
1 | diff --git a/src/lib.rs b/src/lib.rs |
2 | index 7bee922..56f6759 100644 |
3 | --- a/src/lib.rs |
4 | +++ b/src/lib.rs |
5 | @@ -475,6 +475,8 @@ pub enum Error { |
6 | |
7 | pub type Result<T> = std::result::Result<T, Error>; |
8 | |
9 | + impl std::error::Error for Error {} |
10 | + |
11 | impl Display for Error { |
12 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { |
13 | match self { |