85
85
macro_rules! azip {
86
86
// Build Zip Rule (index)
87
87
( @parse [ index => $a: expr, $( $aa: expr, ) * ] $t1: tt in $t2: tt) => {
88
- azip!( @finish ( $crate:: Zip :: indexed( $a) ) [ $( $aa, ) * ] $t1 in $t2)
88
+ $crate :: azip!( @finish ( $crate:: Zip :: indexed( $a) ) [ $( $aa, ) * ] $t1 in $t2)
89
89
} ;
90
90
// Build Zip Rule (no index)
91
91
( @parse [ $a: expr, $( $aa: expr, ) * ] $t1: tt in $t2: tt) => {
92
- azip!( @finish ( $crate:: Zip :: from( $a) ) [ $( $aa, ) * ] $t1 in $t2)
92
+ $crate :: azip!( @finish ( $crate:: Zip :: from( $a) ) [ $( $aa, ) * ] $t1 in $t2)
93
93
} ;
94
94
// Build Finish Rule (both)
95
95
( @finish ( $z: expr) [ $( $aa: expr, ) * ] [ $( $p: pat, ) +] in { $( $t: tt) * } ) => {
@@ -105,32 +105,32 @@ macro_rules! azip {
105
105
// parsing stack: [expressions] [patterns] (one per operand)
106
106
// index uses empty [] -- must be first
107
107
( @parse [ ] [ ] index $i: pat, $( $t: tt) * ) => {
108
- azip!( @parse [ index =>] [ $i, ] $( $t) * ) ;
108
+ $crate :: azip!( @parse [ index =>] [ $i, ] $( $t) * ) ;
109
109
} ;
110
110
( @parse [ $( $exprs: tt) * ] [ $( $pats: tt) * ] mut $x: ident ( $e: expr) $( $t: tt) * ) => {
111
- azip!( @parse [ $( $exprs) * $e, ] [ $( $pats) * mut $x, ] $( $t) * ) ;
111
+ $crate :: azip!( @parse [ $( $exprs) * $e, ] [ $( $pats) * mut $x, ] $( $t) * ) ;
112
112
} ;
113
113
( @parse [ $( $exprs: tt) * ] [ $( $pats: tt) * ] mut $x: ident $( $t: tt) * ) => {
114
- azip!( @parse [ $( $exprs) * & mut $x, ] [ $( $pats) * mut $x, ] $( $t) * ) ;
114
+ $crate :: azip!( @parse [ $( $exprs) * & mut $x, ] [ $( $pats) * mut $x, ] $( $t) * ) ;
115
115
} ;
116
116
( @parse [ $( $exprs: tt) * ] [ $( $pats: tt) * ] , $( $t: tt) * ) => {
117
- azip!( @parse [ $( $exprs) * ] [ $( $pats) * ] $( $t) * ) ;
117
+ $crate :: azip!( @parse [ $( $exprs) * ] [ $( $pats) * ] $( $t) * ) ;
118
118
} ;
119
119
( @parse [ $( $exprs: tt) * ] [ $( $pats: tt) * ] ref $x: ident ( $e: expr) $( $t: tt) * ) => {
120
- azip!( @parse [ $( $exprs) * $e, ] [ $( $pats) * $x, ] $( $t) * ) ;
120
+ $crate :: azip!( @parse [ $( $exprs) * $e, ] [ $( $pats) * $x, ] $( $t) * ) ;
121
121
} ;
122
122
( @parse [ $( $exprs: tt) * ] [ $( $pats: tt) * ] ref $x: ident $( $t: tt) * ) => {
123
- azip!( @parse [ $( $exprs) * & $x, ] [ $( $pats) * $x, ] $( $t) * ) ;
123
+ $crate :: azip!( @parse [ $( $exprs) * & $x, ] [ $( $pats) * $x, ] $( $t) * ) ;
124
124
} ;
125
125
( @parse [ $( $exprs: tt) * ] [ $( $pats: tt) * ] $x: ident ( $e: expr) $( $t: tt) * ) => {
126
- azip!( @parse [ $( $exprs) * $e, ] [ $( $pats) * & $x, ] $( $t) * ) ;
126
+ $crate :: azip!( @parse [ $( $exprs) * $e, ] [ $( $pats) * & $x, ] $( $t) * ) ;
127
127
} ;
128
128
( @parse [ $( $exprs: tt) * ] [ $( $pats: tt) * ] $x: ident $( $t: tt) * ) => {
129
- azip!( @parse [ $( $exprs) * & $x, ] [ $( $pats) * & $x, ] $( $t) * ) ;
129
+ $crate :: azip!( @parse [ $( $exprs) * & $x, ] [ $( $pats) * & $x, ] $( $t) * ) ;
130
130
} ;
131
131
( @parse [ $( $exprs: tt) * ] [ $( $pats: tt) * ] $( $t: tt) * ) => { } ;
132
132
( $( $t: tt) * ) => {
133
- azip!( @parse [ ] [ ] $( $t) * ) ;
133
+ $crate :: azip!( @parse [ ] [ ] $( $t) * ) ;
134
134
}
135
135
}
136
136
0 commit comments