Skip to content

Commit

Permalink
Merge pull request rust-lang#150 from joshtriplett/error-partialeq
Browse files Browse the repository at this point in the history
Implement PartialEq for git2::Error (and thus Result<T, git2::Error>)
  • Loading branch information
alexcrichton committed Jun 9, 2016
2 parents 47080a9 + f3cf8a3 commit 48c282d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use libc::c_int;
use {raw, ErrorClass, ErrorCode};

/// A structure to represent errors coming out of libgit2.
#[derive(Debug)]
#[derive(Debug,PartialEq)]
pub struct Error {
code: c_int,
klass: c_int,
Expand Down

0 comments on commit 48c282d

Please sign in to comment.