Skip to content

Commit 04d13af

Browse files
committed
Make Error implement Send.
Fixes #33
1 parent 619b462 commit 04d13af

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/error.rs

+2
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ impl Error {
9797
}
9898
}
9999

100+
unsafe impl Send for Error { }
101+
100102
impl error::Error for Error {
101103
fn description(&self) -> &str {
102104
unsafe { str::from_c_str(self.raw.message as *const _) }

0 commit comments

Comments
 (0)