Fix compile error
This commit is contained in:
parent
2051b29b88
commit
d78a75d5f5
|
@ -152,7 +152,7 @@ impl BookBuilder {
|
||||||
js.write_all(theme::JS)?;
|
js.write_all(theme::JS)?;
|
||||||
|
|
||||||
let syntax_dir = cssdir.join("syntax");
|
let syntax_dir = cssdir.join("syntax");
|
||||||
fs::create_dir_all(syntax_dir)?;
|
fs::create_dir_all(&syntax_dir)?;
|
||||||
|
|
||||||
let mut highlight_css = File::create(syntax_dir.join("light.css"))?;
|
let mut highlight_css = File::create(syntax_dir.join("light.css"))?;
|
||||||
highlight_css.write_all(theme::SYNTAX_LIGHT_CSS)?;
|
highlight_css.write_all(theme::SYNTAX_LIGHT_CSS)?;
|
||||||
|
|
Loading…
Reference in New Issue