@@ -65,7 +65,7 @@ pub struct EqualValue<'a> {
6565 negated : bool ,
6666}
6767
68- impl < ' a > std:: fmt:: Display for EqualValue < ' a > {
68+ impl std:: fmt:: Display for EqualValue < ' _ > {
6969 fn fmt ( & self , f : & mut std:: fmt:: Formatter ) -> std:: fmt:: Result {
7070 if self . negated {
7171 write ! ( f, "!=" )
@@ -75,7 +75,7 @@ impl<'a> std::fmt::Display for EqualValue<'a> {
7575 }
7676}
7777
78- impl < ' a > EqualValue < ' a > {
78+ impl EqualValue < ' _ > {
7979 fn value_for_match ( & self , m : & Match , spec : & NodeSearchSpec ) -> Result < Option < Cow < str > > > {
8080 match spec {
8181 NodeSearchSpec :: ExactValue { .. }
@@ -119,7 +119,7 @@ impl<'a> EqualValue<'a> {
119119 }
120120}
121121
122- impl < ' a > BinaryOperatorBase for EqualValue < ' a > {
122+ impl BinaryOperatorBase for EqualValue < ' _ > {
123123 fn filter_match ( & self , lhs : & Match , rhs : & Match ) -> Result < bool > {
124124 let lhs_val = self . value_for_match ( lhs, & self . spec_left ) ?;
125125 let rhs_val = self . value_for_match ( rhs, & self . spec_right ) ?;
@@ -177,7 +177,7 @@ impl<'a> BinaryOperatorBase for EqualValue<'a> {
177177 }
178178}
179179
180- impl < ' a > BinaryOperatorIndex for EqualValue < ' a > {
180+ impl BinaryOperatorIndex for EqualValue < ' _ > {
181181 fn retrieve_matches < ' b > ( & ' b self , lhs : & Match ) -> Box < dyn Iterator < Item = Result < Match > > + ' b > {
182182 let lhs = lhs. clone ( ) ;
183183 let lhs_val = try_as_boxed_iter ! ( self . value_for_match( & lhs, & self . spec_left) ) ;
0 commit comments