@@ -93,17 +93,17 @@ pub struct LookAheadList<'a, S> {
9393}
9494
9595// Implemented manually to omit redundant `S: Clone` trait bound, imposed by `#[derive(Clone)]`.
96- impl < ' a , S > Clone for LookAheadList < ' a , S > {
96+ impl < S > Clone for LookAheadList < ' _ , S > {
9797 fn clone ( & self ) -> Self {
9898 * self
9999 }
100100}
101101
102102// Implemented manually to omit redundant `S: Copy` trait bound, imposed by `#[derive(Copy)]`.
103- impl < ' a , S > Copy for LookAheadList < ' a , S > { }
103+ impl < S > Copy for LookAheadList < ' _ , S > { }
104104
105105// Implemented manually to omit redundant `S: Default` trait bound, imposed by `#[derive(Default)]`.
106- impl < ' a , S > Default for LookAheadList < ' a , S > {
106+ impl < S > Default for LookAheadList < ' _ , S > {
107107 fn default ( ) -> Self {
108108 Self {
109109 input_list : & [ ] ,
@@ -114,13 +114,13 @@ impl<'a, S> Default for LookAheadList<'a, S> {
114114
115115// Implemented manually to omit redundant `S: PartialEq` trait bound, imposed by
116116// `#[derive(PartialEq)]`.
117- impl < ' a , S : ScalarValue > PartialEq for LookAheadList < ' a , S > {
117+ impl < S : ScalarValue > PartialEq for LookAheadList < ' _ , S > {
118118 fn eq ( & self , other : & Self ) -> bool {
119119 self . iter ( ) . eq ( other. iter ( ) )
120120 }
121121}
122122
123- impl < ' a , S : ScalarValue > LookAheadList < ' a , S > {
123+ impl < S : ScalarValue > LookAheadList < ' _ , S > {
124124 /// Returns an [`Iterator`] over the items of this [list].
125125 ///
126126 /// [list]: https://spec.graphql.org/October2021#sec-List
@@ -179,7 +179,7 @@ pub mod look_ahead_list {
179179 }
180180 }
181181
182- impl < ' a , S : ScalarValue > DoubleEndedIterator for Iter < ' a , S > {
182+ impl < S : ScalarValue > DoubleEndedIterator for Iter < ' _ , S > {
183183 fn next_back ( & mut self ) -> Option < Self :: Item > {
184184 let vars = self . vars ;
185185 self . slice_iter
@@ -203,16 +203,16 @@ pub struct LookAheadObject<'a, S> {
203203}
204204
205205// Implemented manually to omit redundant `S: Clone` trait bound, imposed by `#[derive(Clone)]`.
206- impl < ' a , S > Clone for LookAheadObject < ' a , S > {
206+ impl < S > Clone for LookAheadObject < ' _ , S > {
207207 fn clone ( & self ) -> Self {
208208 * self
209209 }
210210}
211211
212212// Implemented manually to omit redundant `S: Copy` trait bound, imposed by `#[derive(Copy)]`.
213- impl < ' a , S > Copy for LookAheadObject < ' a , S > { }
213+ impl < S > Copy for LookAheadObject < ' _ , S > { }
214214
215- impl < ' a , S > Default for LookAheadObject < ' a , S > {
215+ impl < S > Default for LookAheadObject < ' _ , S > {
216216 fn default ( ) -> Self {
217217 Self {
218218 input_object : & [ ] ,
@@ -221,13 +221,13 @@ impl<'a, S> Default for LookAheadObject<'a, S> {
221221 }
222222}
223223
224- impl < ' a , S : ScalarValue > PartialEq for LookAheadObject < ' a , S > {
224+ impl < S : ScalarValue > PartialEq for LookAheadObject < ' _ , S > {
225225 fn eq ( & self , other : & Self ) -> bool {
226226 self . iter ( ) . eq ( other. iter ( ) )
227227 }
228228}
229229
230- impl < ' a , S : ScalarValue > LookAheadObject < ' a , S > {
230+ impl < S : ScalarValue > LookAheadObject < ' _ , S > {
231231 /// Returns an [`Iterator`] over this [input object]'s fields.
232232 ///
233233 /// [input object]: https://spec.graphql.org/October2021#sec-Input-Objects
@@ -301,7 +301,7 @@ pub mod look_ahead_object {
301301 }
302302 }
303303
304- impl < ' a , S : ScalarValue > DoubleEndedIterator for Iter < ' a , S > {
304+ impl < S : ScalarValue > DoubleEndedIterator for Iter < ' _ , S > {
305305 fn next_back ( & mut self ) -> Option < Self :: Item > {
306306 let vars = self . vars ;
307307 self . slice_iter . next_back ( ) . map ( move |( key, val) | {
@@ -331,14 +331,14 @@ pub struct LookAheadArgument<'a, S> {
331331}
332332
333333// Implemented manually to omit redundant `S: Clone` trait bound, imposed by `#[derive(Clone)]`.
334- impl < ' a , S > Clone for LookAheadArgument < ' a , S > {
334+ impl < S > Clone for LookAheadArgument < ' _ , S > {
335335 fn clone ( & self ) -> Self {
336336 * self
337337 }
338338}
339339
340340// Implemented manually to omit redundant `S: Copy` trait bound, imposed by `#[derive(Copy)]`.
341- impl < ' a , S > Copy for LookAheadArgument < ' a , S > { }
341+ impl < S > Copy for LookAheadArgument < ' _ , S > { }
342342
343343impl < ' a , S > LookAheadArgument < ' a , S > {
344344 /// Returns the name of this [argument].
@@ -386,7 +386,7 @@ pub struct LookAheadChildren<'a, S> {
386386}
387387
388388// Implemented manually to omit redundant `S: Clone` trait bound, imposed by `#[derive(Clone)]`.
389- impl < ' a , S > Clone for LookAheadChildren < ' a , S > {
389+ impl < S > Clone for LookAheadChildren < ' _ , S > {
390390 fn clone ( & self ) -> Self {
391391 Self {
392392 children : self . children . clone ( ) ,
@@ -395,7 +395,7 @@ impl<'a, S> Clone for LookAheadChildren<'a, S> {
395395}
396396
397397// Implemented manually to omit redundant `S: Default` trait bound, imposed by `#[derive(Default)]`.
398- impl < ' a , S > Default for LookAheadChildren < ' a , S > {
398+ impl < S > Default for LookAheadChildren < ' _ , S > {
399399 fn default ( ) -> Self {
400400 Self { children : vec ! [ ] }
401401 }
@@ -472,14 +472,14 @@ pub(super) enum SelectionSource<'a, S> {
472472}
473473
474474// Implemented manually to omit redundant `S: Clone` trait bound, imposed by `#[derive(Clone)]`.
475- impl < ' a , S > Clone for SelectionSource < ' a , S > {
475+ impl < S > Clone for SelectionSource < ' _ , S > {
476476 fn clone ( & self ) -> Self {
477477 * self
478478 }
479479}
480480
481481// Implemented manually to omit redundant `S: Copy` trait bound, imposed by `#[derive(Copy)]`.
482- impl < ' a , S > Copy for SelectionSource < ' a , S > { }
482+ impl < S > Copy for SelectionSource < ' _ , S > { }
483483
484484/// [Selection] of an executed GraphQL query, used in [look-ahead][0] operations.
485485///
@@ -496,14 +496,14 @@ pub struct LookAheadSelection<'a, S> {
496496}
497497
498498// Implemented manually to omit redundant `S: Clone` trait bound, imposed by `#[derive(Clone)]`.
499- impl < ' a , S > Clone for LookAheadSelection < ' a , S > {
499+ impl < S > Clone for LookAheadSelection < ' _ , S > {
500500 fn clone ( & self ) -> Self {
501501 * self
502502 }
503503}
504504
505505// Implemented manually to omit redundant `S: Copy` trait bound, imposed by `#[derive(Copy)]`.
506- impl < ' a , S > Copy for LookAheadSelection < ' a , S > { }
506+ impl < S > Copy for LookAheadSelection < ' _ , S > { }
507507
508508impl < ' a , S > LookAheadSelection < ' a , S > {
509509 /// Constructs a new [`LookAheadSelection`] out of the provided params.
@@ -670,7 +670,7 @@ struct ChildrenBuilder<'a, 'f, S> {
670670 output : Vec < LookAheadSelection < ' a , S > > ,
671671}
672672
673- impl < ' a , ' f , S : ScalarValue > ChildrenBuilder < ' a , ' f , S > {
673+ impl < ' a , S : ScalarValue > ChildrenBuilder < ' a , ' _ , S > {
674674 fn visit_parent_selection (
675675 & mut self ,
676676 selection : & ' a Selection < ' a , S > ,
0 commit comments