We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a64419 commit 2a4189cCopy full SHA for 2a4189c
src/attr.rs
@@ -69,8 +69,8 @@ impl<'string> AttrValue<'string> {
69
///
70
/// Note that this implementation does not differentiate between [`AttrValue::String`] and
71
/// [`AttrValue::Bytes`].
72
-impl PartialEq for AttrValue<'_> {
73
- fn eq(&self, other: &AttrValue<'_>) -> bool {
+impl<'string> PartialEq for AttrValue<'string> {
+ fn eq(&self, other: &AttrValue<'string>) -> bool {
74
match (self, other) {
75
(Self::True, AttrValue::True)
76
| (Self::False, AttrValue::False)
0 commit comments