Skip to content

Commit e335ec2

Browse files
committed
Merge pull request #34 from akiss77/pr-git_error-send
Make Error implement Send.
2 parents 619b462 + 04d13af commit e335ec2

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)