refactor errors.rs
This commit is contained in:
1 parent
729312f8c2
commit
ec872894db
1 file changed
+2
-1
@@ -1,3 +1,4 @@
|
|||||||
|
use std::error::Error as ErrorTrait;
|
||||||
use std::fmt::Display;
|
use std::fmt::Display;
|
||||||
|
|
||||||
/// Error types for pacdef.
|
/// Error types for pacdef.
|
||||||
@@ -16,4 +17,4 @@ impl Display for Error {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl std::error::Error for Error {}
|
impl ErrorTrait for Error {}
|
||||||
Reference in new issue
Block a user