@@ -441,14 +441,12 @@ impl<'a, S> LookAheadChildren<'a, S> {
441441 }
442442
443443 /// Returns the possibly aliased names of the top-level children from the current [selection].
444- pub fn names ( & self ) -> impl Iterator < Item = & ' a str > + DoubleEndedIterator + ' _ {
444+ pub fn names ( & self ) -> impl DoubleEndedIterator < Item = & ' a str > + ' _ {
445445 self . children . iter ( ) . map ( |sel| sel. field_name ( ) )
446446 }
447447
448448 /// Returns an [`Iterator`] over these children, by reference.
449- pub fn iter (
450- & self ,
451- ) -> impl Iterator < Item = & LookAheadSelection < ' a , S > > + DoubleEndedIterator + ' _ {
449+ pub fn iter ( & self ) -> impl DoubleEndedIterator < Item = & LookAheadSelection < ' a , S > > + ' _ {
452450 self . children . iter ( )
453451 }
454452}
@@ -481,7 +479,7 @@ impl<'a, S> Clone for SelectionSource<'a, S> {
481479// Implemented manually to omit redundant `S: Copy` trait bound, imposed by `#[derive(Copy)]`.
482480impl < ' a , S > Copy for SelectionSource < ' a , S > { }
483481
484- /// [Selection] of an an executed GraphQL query, used in [look-ahead][0] operations.
482+ /// [Selection] of an executed GraphQL query, used in [look-ahead][0] operations.
485483///
486484/// [0]: https://en.wikipedia.org/wiki/Look-ahead_(backtracking)
487485/// [2]: https://en.wikipedia.org/wiki/Lazy_evaluation
@@ -574,9 +572,7 @@ impl<'a, S> LookAheadSelection<'a, S> {
574572 ///
575573 /// [arguments]: https://spec.graphql.org/October2021#sec-Language.Arguments
576574 /// [selection]: https://spec.graphql.org/October2021#sec-Selection-Sets
577- pub fn arguments (
578- & self ,
579- ) -> impl Iterator < Item = LookAheadArgument < ' a , S > > + DoubleEndedIterator {
575+ pub fn arguments ( & self ) -> impl DoubleEndedIterator < Item = LookAheadArgument < ' a , S > > {
580576 let opt_arguments = match self . source {
581577 SelectionSource :: Field ( f) => f. arguments . as_ref ( ) ,
582578 _ => None ,
0 commit comments