From d78a75d5f5949abdea21b4732e0fdd37e8e2c278 Mon Sep 17 00:00:00 2001 From: Michael Howell Date: Thu, 7 Oct 2021 10:22:58 -0700 Subject: [PATCH] Fix compile error --- src/book/init.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/book/init.rs b/src/book/init.rs index 0dacab98..b677832a 100644 --- a/src/book/init.rs +++ b/src/book/init.rs @@ -152,7 +152,7 @@ impl BookBuilder { js.write_all(theme::JS)?; 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"))?; highlight_css.write_all(theme::SYNTAX_LIGHT_CSS)?;