aboutsummaryrefslogtreecommitdiff
path: root/crates/project_model/src
diff options
context:
space:
mode:
authorDaniel McNab <[email protected]>2021-03-08 16:41:40 +0000
committerDaniel McNab <[email protected]>2021-03-08 16:41:40 +0000
commitd5d406fa780a18d350fc925f0753c0ec5eaa4a62 (patch)
tree27de7fc5f3efea9d233e638eed75896d3367ba25 /crates/project_model/src
parentbbecea03fda57cced0b4ba95f4bbd45f8d88102c (diff)
Only show directory name
Diffstat (limited to 'crates/project_model/src')
-rw-r--r--crates/project_model/src/workspace.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/project_model/src/workspace.rs b/crates/project_model/src/workspace.rs
index aa7a8ee52..6001d694f 100644
--- a/crates/project_model/src/workspace.rs
+++ b/crates/project_model/src/workspace.rs
@@ -56,7 +56,7 @@ impl fmt::Debug for ProjectWorkspace {
56 match self { 56 match self {
57 ProjectWorkspace::Cargo { cargo, sysroot, rustc, rustc_cfg } => f 57 ProjectWorkspace::Cargo { cargo, sysroot, rustc, rustc_cfg } => f
58 .debug_struct("Cargo") 58 .debug_struct("Cargo")
59 .field("root", &cargo.workspace_root()) 59 .field("root", &cargo.workspace_root().file_name())
60 .field("n_packages", &cargo.packages().len()) 60 .field("n_packages", &cargo.packages().len())
61 .field("n_sysroot_crates", &sysroot.crates().len()) 61 .field("n_sysroot_crates", &sysroot.crates().len())
62 .field( 62 .field(