Only show directory name

This commit is contained in:
Daniel McNab 2021-03-08 16:41:40 +00:00
parent bbecea03fd
commit d5d406fa78

View file

@ -56,7 +56,7 @@ impl fmt::Debug for ProjectWorkspace {
match self {
ProjectWorkspace::Cargo { cargo, sysroot, rustc, rustc_cfg } => f
.debug_struct("Cargo")
.field("root", &cargo.workspace_root())
.field("root", &cargo.workspace_root().file_name())
.field("n_packages", &cargo.packages().len())
.field("n_sysroot_crates", &sysroot.crates().len())
.field(