We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ba4716 commit 6a081a5Copy full SHA for 6a081a5
mdbook-tera-backend/src/tera_renderer/renderer.rs
@@ -59,7 +59,7 @@ impl Renderer {
59
}
60
61
pub(crate) fn render_book(&mut self) -> Result<()> {
62
- let dest_dir = &self.ctx.destination.parent().unwrap();
+ let dest_dir = self.ctx.destination.parent().unwrap().to_owned();
63
if !dest_dir.is_dir() {
64
return Err(anyhow!("{dest_dir:?} is not a directory"));
65
0 commit comments