Skip to content

Commit 51eaa1e

Browse files
committed
style: Make clippy happy
1 parent e25e262 commit 51eaa1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dependency.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -561,8 +561,8 @@ impl std::fmt::Display for Dependency {
561561

562562
fn path_field(crate_root: &Path, abs_path: &Path) -> String {
563563
let relpath = pathdiff::diff_paths(abs_path, crate_root).expect("both paths are absolute");
564-
let relpath = relpath.to_str().unwrap().replace('\\', "/");
565-
relpath
564+
565+
relpath.to_str().unwrap().replace('\\', "/")
566566
}
567567

568568
/// Primary location of a dependency

0 commit comments

Comments
 (0)