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 e25e262 commit 51eaa1eCopy full SHA for 51eaa1e
src/dependency.rs
@@ -561,8 +561,8 @@ impl std::fmt::Display for Dependency {
561
562
fn path_field(crate_root: &Path, abs_path: &Path) -> String {
563
let relpath = pathdiff::diff_paths(abs_path, crate_root).expect("both paths are absolute");
564
- let relpath = relpath.to_str().unwrap().replace('\\', "/");
565
- relpath
+
+ relpath.to_str().unwrap().replace('\\', "/")
566
}
567
568
/// Primary location of a dependency
0 commit comments