Fix compile error

This commit is contained in:
Michael Howell 2021-10-07 10:22:58 -07:00
parent 2051b29b88
commit d78a75d5f5
1 changed files with 1 additions and 1 deletions

View File

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