Skip to content

Commit 2a4189c

Browse files
committed
Update git2 to compile with latest rustc nightly
This works around the regression in rust-lang/rust#85574
1 parent 0a64419 commit 2a4189c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/attr.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ impl<'string> AttrValue<'string> {
6969
///
7070
/// Note that this implementation does not differentiate between [`AttrValue::String`] and
7171
/// [`AttrValue::Bytes`].
72-
impl PartialEq for AttrValue<'_> {
73-
fn eq(&self, other: &AttrValue<'_>) -> bool {
72+
impl<'string> PartialEq for AttrValue<'string> {
73+
fn eq(&self, other: &AttrValue<'string>) -> bool {
7474
match (self, other) {
7575
(Self::True, AttrValue::True)
7676
| (Self::False, AttrValue::False)

0 commit comments

Comments
 (0)