Skip to content
This repository has been archived by the owner on Aug 16, 2021. It is now read-only.

Commit

Permalink
Add Sync and Send as failure::Error supports them. (#283)
Browse files Browse the repository at this point in the history
  • Loading branch information
o01eg authored and mitsuhiko committed Dec 29, 2018
1 parent 15b6798 commit 937fb70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/compat.rs
Expand Up @@ -39,8 +39,8 @@ with_std! {
}
}

impl From<Error> for Box<StdError> {
fn from(error: Error) -> Box<StdError> {
impl From<Error> for Box<StdError + Send + Sync> {
fn from(error: Error) -> Box<StdError + Send + Sync> {
Box::new(Compat { error })
}
}
Expand Down

0 comments on commit 937fb70

Please sign in to comment.