Skip to content

Commit 9bbe088

Browse files
committed
Make git_error implement Send.
Fixes #33
1 parent 9cbd2fb commit 9bbe088

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libgit2-sys/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ pub struct git_error {
8383
pub klass: c_int,
8484
}
8585

86+
unsafe impl Send for git_error { }
87+
8688
#[repr(C)]
8789
#[deriving(Copy)]
8890
pub struct git_oid {

0 commit comments

Comments
 (0)