Skip to content

Commit 6a081a5

Browse files
committed
Fix
1 parent 0ba4716 commit 6a081a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mdbook-tera-backend/src/tera_renderer/renderer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ impl Renderer {
5959
}
6060

6161
pub(crate) fn render_book(&mut self) -> Result<()> {
62-
let dest_dir = &self.ctx.destination.parent().unwrap();
62+
let dest_dir = self.ctx.destination.parent().unwrap().to_owned();
6363
if !dest_dir.is_dir() {
6464
return Err(anyhow!("{dest_dir:?} is not a directory"));
6565
}

0 commit comments

Comments
 (0)