Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/libgit2-sys/lib.rs b/libgit2-sys/lib.rs
- index 48f2511..1fcc156 100644
- --- a/libgit2-sys/lib.rs
- +++ b/libgit2-sys/lib.rs
- @@ -1583,7 +1583,7 @@ git_enum! {
- #[repr(C)]
- pub struct git_rebase_operation {
- - pub _type: git_rebase_operation_t,
- + pub type_: git_rebase_operation_t,
- pub id: git_oid,
- pub exec: *const c_char,
- }
- diff --git a/systest/build.rs b/systest/build.rs
- index 67faeb5..152cb77 100644
- --- a/systest/build.rs
- +++ b/systest/build.rs
- @@ -19,7 +19,7 @@ fn main() {
- .type_name(|s, _, _| s.to_string());
- cfg.field_name(|_, f| {
- match f {
- - "kind" => "type".to_string(),
- + "kind" | "type_" => "type".to_string(),
- _ => f.to_string(),
- }
- });
Add Comment
Please, Sign In to add comment