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.
debug!
path_to_root
1 parent 3966498 commit c150529Copy full SHA for c150529
src/utils/fs.rs
@@ -38,7 +38,6 @@ pub fn write_file<P: AsRef<Path>>(build_dir: &Path, filename: P, content: &[u8])
38
/// Consider [submitting a new issue](https://github.com/rust-lang/mdBook/issues)
39
/// or a [pull-request](https://github.com/rust-lang/mdBook/pulls) to improve it.
40
pub fn path_to_root<P: Into<PathBuf>>(path: P) -> String {
41
- debug!("path_to_root");
42
// Remove filename and add "../" for every directory
43
44
path.into()
0 commit comments