Skip to content

Commit

Permalink
Update git2 to compile with latest rustc nightly
Browse files Browse the repository at this point in the history
This works around the regression in rust-lang/rust#85574
  • Loading branch information
staktrace committed May 22, 2021
1 parent 0a64419 commit 2a4189c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/attr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ impl<'string> AttrValue<'string> {
///
/// Note that this implementation does not differentiate between [`AttrValue::String`] and
/// [`AttrValue::Bytes`].
impl PartialEq for AttrValue<'_> {
fn eq(&self, other: &AttrValue<'_>) -> bool {
impl<'string> PartialEq for AttrValue<'string> {
fn eq(&self, other: &AttrValue<'string>) -> bool {
match (self, other) {
(Self::True, AttrValue::True)
| (Self::False, AttrValue::False)
Expand Down

0 comments on commit 2a4189c

Please sign in to comment.