fix wasm build issue
This commit is contained in:
parent
b149cb3484
commit
0bc6445ebf
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@
|
|||||||
*.css
|
*.css
|
||||||
Cargo.lock
|
Cargo.lock
|
||||||
coverage
|
coverage
|
||||||
|
pkg
|
||||||
|
@ -40,7 +40,7 @@ impl StyleSheet {
|
|||||||
let file = map.add_file("stdin".into(), input);
|
let file = map.add_file("stdin".into(), input);
|
||||||
Ok(Css::from_stylesheet(StyleSheet(
|
Ok(Css::from_stylesheet(StyleSheet(
|
||||||
StyleSheetParser {
|
StyleSheetParser {
|
||||||
lexer: Lexer::new(&file).peekmore(),
|
lexer: &mut Lexer::new(&file).peekmore(),
|
||||||
nesting: 0,
|
nesting: 0,
|
||||||
map: &mut map,
|
map: &mut map,
|
||||||
path: Path::new(""),
|
path: Path::new(""),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user