@@ -736,14 +736,14 @@ macro_rules! impl_tuple_combination {
736
736
type Item = ( A , $( ignore_ident!( $X, A ) ) ,* ) ;
737
737
738
738
fn next( & mut self ) -> Option <Self :: Item > {
739
- if let Some ( ( $( $X) , * , ) ) = self . c. next( ) {
739
+ if let Some ( ( $( $X, ) * ) ) = self . c. next( ) {
740
740
let z = self . item. clone( ) . unwrap( ) ;
741
741
Some ( ( z, $( $X) ,* ) )
742
742
} else {
743
743
self . item = self . iter. next( ) ;
744
744
self . item. clone( ) . and_then( |z| {
745
745
self . c = self . iter. clone( ) . into( ) ;
746
- self . c. next( ) . map( |( $( $X) , * , ) | ( z, $( $X) ,* ) )
746
+ self . c. next( ) . map( |( $( $X, ) * ) | ( z, $( $X) ,* ) )
747
747
} )
748
748
}
749
749
}
@@ -769,13 +769,13 @@ macro_rules! impl_tuple_combination {
769
769
let Self { c, item, mut iter } = self ;
770
770
if let Some ( z) = item. as_ref( ) {
771
771
init = c
772
- . map( |( $( $X) , * , ) | ( z. clone( ) , $( $X) ,* ) )
772
+ . map( |( $( $X, ) * ) | ( z. clone( ) , $( $X) ,* ) )
773
773
. fold( init, & mut f) ;
774
774
}
775
775
while let Some ( z) = iter. next( ) {
776
776
let c: $P<I > = iter. clone( ) . into( ) ;
777
777
init = c
778
- . map( |( $( $X) , * , ) | ( z. clone( ) , $( $X) ,* ) )
778
+ . map( |( $( $X, ) * ) | ( z. clone( ) , $( $X) ,* ) )
779
779
. fold( init, & mut f) ;
780
780
}
781
781
init
0 commit comments