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.
2 parents 45a4810 + ef993e8 commit cf2459fCopy full SHA for cf2459f
src/book/book.rs
@@ -49,7 +49,9 @@ fn create_missing(src_dir: &Path, summary: &Summary) -> Result<()> {
49
}
50
debug!("Creating missing file {}", filename.display());
51
52
- let mut f = File::create(&filename)?;
+ let mut f = File::create(&filename).with_context(|| {
53
+ format!("Unable to create missing file: {}", filename.display())
54
+ })?;
55
writeln!(f, "# {}", link.name)?;
56
57
0 commit comments