remove leftover debug statements

This commit is contained in:
ConnorSkees 2020-03-29 19:51:35 -04:00
parent 07505399da
commit 9e38fbc747
3 changed files with 0 additions and 6 deletions

View File

@ -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_ })
} }

View File

@ -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);

View File

@ -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 });