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

Add Sync and Send as failure::Error supports them. #283

Merged
merged 1 commit into from Dec 29, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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