mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 04:53:34 +00:00
Only show directory name
This commit is contained in:
parent
bbecea03fd
commit
d5d406fa78
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue