allow for using Error with inside other errors outside this crate
This commit is contained in:
parent
b7ab849a16
commit
150389c591
|
@ -9,5 +9,8 @@ pub enum Error {
|
||||||
DuplicateEntry,
|
DuplicateEntry,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
unsafe impl Send for Error {}
|
||||||
|
unsafe impl Sync for Error {}
|
||||||
|
|
||||||
/// A crypto result.
|
/// A crypto result.
|
||||||
pub type Result<T> = ::std::result::Result<T, Error>;
|
pub type Result<T> = ::std::result::Result<T, Error>;
|
||||||
|
|
Loading…
Reference in New Issue