fix wasm build issue
This commit is contained in:
parent
b149cb3484
commit
0bc6445ebf
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@
|
||||
*.css
|
||||
Cargo.lock
|
||||
coverage
|
||||
pkg
|
||||
|
@ -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(""),
|
||||
|
Loading…
x
Reference in New Issue
Block a user