remove leftover debug statements
This commit is contained in:
parent
07505399da
commit
9e38fbc747
@ -68,7 +68,6 @@ impl If {
|
|||||||
}
|
}
|
||||||
'{' => {
|
'{' => {
|
||||||
else_ = read_until_closing_curly_brace(toks);
|
else_ = read_until_closing_curly_brace(toks);
|
||||||
dbg!(&else_);
|
|
||||||
toks.next();
|
toks.next();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -88,8 +87,6 @@ impl If {
|
|||||||
}
|
}
|
||||||
devour_whitespace(toks);
|
devour_whitespace(toks);
|
||||||
|
|
||||||
dbg!(&branches);
|
|
||||||
|
|
||||||
Ok(If { branches, else_ })
|
Ok(If { branches, else_ })
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -212,9 +212,7 @@ impl AtRule {
|
|||||||
v => return Err(format!("{} is not an integer.", v).into()),
|
v => return Err(format!("{} is not an integer.", v).into()),
|
||||||
};
|
};
|
||||||
let body = read_until_closing_curly_brace(toks);
|
let body = read_until_closing_curly_brace(toks);
|
||||||
// body.push(toks.next().unwrap());
|
|
||||||
toks.next();
|
toks.next();
|
||||||
// dbg!(&body);
|
|
||||||
|
|
||||||
devour_whitespace(toks);
|
devour_whitespace(toks);
|
||||||
|
|
||||||
|
@ -115,7 +115,6 @@ impl<'a> StyleParser<'a> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
let value = self.parse_style_value(toks, scope)?;
|
let value = self.parse_style_value(toks, scope)?;
|
||||||
dbg!(&value);
|
|
||||||
match toks.peek().unwrap().kind {
|
match toks.peek().unwrap().kind {
|
||||||
'}' => {
|
'}' => {
|
||||||
styles.push(Style { property, value });
|
styles.push(Style { property, value });
|
||||||
|
Loading…
x
Reference in New Issue
Block a user