@@ -253,16 +253,16 @@ macro_rules! iproduct {
253253 $I
254254 ) ;
255255 ( @flatten $I: expr, $J: expr, $( $K: expr, ) * ) => (
256- iproduct!( @flatten $crate:: cons_tuples( iproduct!( $I, $J) ) , $( $K, ) * )
256+ $crate :: iproduct!( @flatten $crate:: cons_tuples( $crate :: iproduct!( $I, $J) ) , $( $K, ) * )
257257 ) ;
258258 ( $I: expr) => (
259259 $crate:: __std_iter:: IntoIterator :: into_iter( $I)
260260 ) ;
261261 ( $I: expr, $J: expr) => (
262- $crate:: Itertools :: cartesian_product( iproduct!( $I) , iproduct!( $J) )
262+ $crate:: Itertools :: cartesian_product( $crate :: iproduct!( $I) , $crate :: iproduct!( $J) )
263263 ) ;
264264 ( $I: expr, $J: expr, $( $K: expr) ,+) => (
265- iproduct!( @flatten iproduct!( $I, $J) , $( $K, ) +)
265+ $crate :: iproduct!( @flatten $crate :: iproduct!( $I, $J) , $( $K, ) +)
266266 ) ;
267267}
268268
@@ -313,7 +313,7 @@ macro_rules! izip {
313313
314314 // The "b" identifier is a different identifier on each recursion level thanks to hygiene.
315315 ( @closure $p: pat => ( $( $tup: tt) * ) , $_iter: expr $( , $tail: expr ) * ) => {
316- izip!( @closure ( $p, b) => ( $( $tup) * , b ) $( , $tail ) * )
316+ $crate :: izip!( @closure ( $p, b) => ( $( $tup) * , b ) $( , $tail ) * )
317317 } ;
318318
319319 // unary
@@ -323,18 +323,18 @@ macro_rules! izip {
323323
324324 // binary
325325 ( $first: expr, $second: expr $( , ) * ) => {
326- izip!( $first)
326+ $crate :: izip!( $first)
327327 . zip( $second)
328328 } ;
329329
330330 // n-ary where n > 2
331331 ( $first: expr $( , $rest: expr ) * $( , ) * ) => {
332- izip!( $first)
332+ $crate :: izip!( $first)
333333 $(
334334 . zip( $rest)
335335 ) *
336336 . map(
337- izip!( @closure a => ( a) $( , $rest ) * )
337+ $crate :: izip!( @closure a => ( a) $( , $rest ) * )
338338 )
339339 } ;
340340}
0 commit comments