Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
workspace: Don't debug display paths to users in trust popup (#45079)
Lukas Wirth25b89dd8e91d
diff --git a/crates/workspace/src/security_modal.rs b/crates/workspace/src/security_modal.rsindex 44242a35880..1b5509d4d64 100644--- a/crates/workspace/src/security_modal.rs+++ b/crates/workspace/src/security_modal.rs@@ -265,8 +265,8 @@ impl SecurityModal {}}1 => Some(Cow::Owned(format!(- "Trust all projects in the {:?} folder",- self.shorten_path(available_parents[0])+ "Trust all projects in the {:} folder",+ self.shorten_path(available_parents[0]).display()))),_ => Some(Cow::Borrowed("Trust all projects in the parent folders")),}