diff --git a/.gitignore b/.gitignore index 021c5b1..c08fa70 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ *.css Cargo.lock coverage +pkg diff --git a/src/stylesheet.rs b/src/stylesheet.rs index be46226..f852910 100644 --- a/src/stylesheet.rs +++ b/src/stylesheet.rs @@ -40,7 +40,7 @@ impl StyleSheet { let file = map.add_file("stdin".into(), input); Ok(Css::from_stylesheet(StyleSheet( StyleSheetParser { - lexer: Lexer::new(&file).peekmore(), + lexer: &mut Lexer::new(&file).peekmore(), nesting: 0, map: &mut map, path: Path::new(""),