Skip to content

Commit 38877bc

Browse files
committed
Merge branch 'rustup_20141221'
2 parents 2f4b55a + 110bf30 commit 38877bc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/parser.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,13 @@ pub fn parse_one_component_value<T: Iterator<Item = Node>>(mut iter: T)
107107

108108
// Work around "error: cannot borrow `*iter` as mutable more than once at a time"
109109
// when using a normal for loop.
110-
macro_rules! for_iter(
110+
macro_rules! for_iter {
111111
($iter: ident, $pattern: pat, $loop_body: expr) => (
112112
loop {
113113
match $iter.next() { None => break, Some($pattern) => $loop_body }
114114
}
115115
);
116-
);
116+
}
117117

118118

119119
impl<T: Iterator<Item = Node>> Iterator for StylesheetParser<T> {

src/tokenizer.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,11 @@ impl Tokenizer {
125125
}
126126
}
127127

128-
macro_rules! is_match(
128+
macro_rules! is_match {
129129
($value:expr, $($pattern:pat)|+) => (
130130
match $value { $($pattern)|+ => true, _ => false }
131131
);
132-
);
132+
}
133133

134134

135135
fn next_component_value(tokenizer: &mut Tokenizer) -> Option<Node> {

0 commit comments

Comments
 (0)