File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -106,13 +106,13 @@ pub fn parse_one_component_value<T: Iterator<Node>>(mut iter: T)
106
106
107
107
// Work around "error: cannot borrow `*iter` as mutable more than once at a time"
108
108
// when using a normal for loop.
109
- macro_rules! for_iter(
109
+ macro_rules! for_iter {
110
110
( $iter: ident, $pattern: pat, $loop_body: expr) => (
111
111
loop {
112
112
match $iter. next( ) { None => break , Some ( $pattern) => $loop_body }
113
113
}
114
114
) ;
115
- ) ;
115
+ }
116
116
117
117
118
118
impl < T : Iterator < Node > > Iterator < Result < Rule , SyntaxError > > for StylesheetParser < T > {
Original file line number Diff line number Diff line change @@ -123,11 +123,11 @@ impl Tokenizer {
123
123
}
124
124
}
125
125
126
- macro_rules! is_match(
126
+ macro_rules! is_match {
127
127
( $value: expr, $( $pattern: pat) |+) => (
128
128
match $value { $( $pattern) |+ => true , _ => false }
129
129
) ;
130
- ) ;
130
+ }
131
131
132
132
133
133
fn next_component_value ( tokenizer : & mut Tokenizer ) -> Option < Node > {
You can’t perform that action at this time.
0 commit comments