aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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(