@@ -260,7 +260,9 @@ macro_rules! rev_for_each_ident{
260260}
261261
262262macro_rules! impl_tuple_collect {
263- ( $( $Y: ident) ,* ) => (
263+ ( $dummy: ident, ) => { } ; // stop
264+ ( $dummy: ident, $( $Y: ident, ) * ) => (
265+ impl_tuple_collect!( $( $Y, ) * ) ;
264266 impl <A > TupleCollect for ( $( ignore_ident!( $Y, A ) , ) * ) {
265267 type Item = A ;
266268 type Buffer = [ Option <A >; count_ident!( $( $Y, ) * ) - 1 ] ;
@@ -322,16 +324,4 @@ macro_rules! impl_tuple_collect {
322324 }
323325 )
324326}
325-
326- impl_tuple_collect ! ( a) ;
327- impl_tuple_collect ! ( a, b) ;
328- impl_tuple_collect ! ( a, b, c) ;
329- impl_tuple_collect ! ( a, b, c, d) ;
330- impl_tuple_collect ! ( a, b, c, d, e) ;
331- impl_tuple_collect ! ( a, b, c, d, e, f) ;
332- impl_tuple_collect ! ( a, b, c, d, e, f, g) ;
333- impl_tuple_collect ! ( a, b, c, d, e, f, g, h) ;
334- impl_tuple_collect ! ( a, b, c, d, e, f, g, h, i) ;
335- impl_tuple_collect ! ( a, b, c, d, e, f, g, h, i, j) ;
336- impl_tuple_collect ! ( a, b, c, d, e, f, g, h, i, j, k) ;
337- impl_tuple_collect ! ( a, b, c, d, e, f, g, h, i, j, k, l) ;
327+ impl_tuple_collect ! ( dummy, a, b, c, d, e, f, g, h, i, j, k, l, ) ;
0 commit comments