allow for using Error with inside other errors outside this crate

This commit is contained in:
Vladimir Komendantskiy 2018-07-31 11:51:52 +01:00
parent b7ab849a16
commit 150389c591
1 changed files with 3 additions and 0 deletions

View File

@ -9,5 +9,8 @@ pub enum Error {
DuplicateEntry,
}
unsafe impl Send for Error {}
unsafe impl Sync for Error {}
/// A crypto result.
pub type Result<T> = ::std::result::Result<T, Error>;