Merge pull request #2020 from mgeisler/patch-1
Remove spammy `debug!` log from `path_to_root`
This commit is contained in:
commit
112fd4aac3
|
@ -38,7 +38,6 @@ pub fn write_file<P: AsRef<Path>>(build_dir: &Path, filename: P, content: &[u8])
|
||||||
/// Consider [submitting a new issue](https://github.com/rust-lang/mdBook/issues)
|
/// Consider [submitting a new issue](https://github.com/rust-lang/mdBook/issues)
|
||||||
/// or a [pull-request](https://github.com/rust-lang/mdBook/pulls) to improve it.
|
/// or a [pull-request](https://github.com/rust-lang/mdBook/pulls) to improve it.
|
||||||
pub fn path_to_root<P: Into<PathBuf>>(path: P) -> String {
|
pub fn path_to_root<P: Into<PathBuf>>(path: P) -> String {
|
||||||
debug!("path_to_root");
|
|
||||||
// Remove filename and add "../" for every directory
|
// Remove filename and add "../" for every directory
|
||||||
|
|
||||||
path.into()
|
path.into()
|
||||||
|
|
Loading…
Reference in New Issue