Skip to content

Commit d78a75d

Browse files
committed
Fix compile error
1 parent 2051b29 commit d78a75d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/book/init.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ impl BookBuilder {
152152
js.write_all(theme::JS)?;
153153

154154
let syntax_dir = cssdir.join("syntax");
155-
fs::create_dir_all(syntax_dir)?;
155+
fs::create_dir_all(&syntax_dir)?;
156156

157157
let mut highlight_css = File::create(syntax_dir.join("light.css"))?;
158158
highlight_css.write_all(theme::SYNTAX_LIGHT_CSS)?;

0 commit comments

Comments
 (0)