Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Update crates/recent_projects/src/highlighted_workspace_location.rs

Petros Amoiridis9ef3e45bcd55
diff --git a/crates/recent_projects/src/highlighted_workspace_location.rs b/crates/recent_projects/src/highlighted_workspace_location.rs
index ca8b8b2828f..5c3505cccde 100644
--- a/crates/recent_projects/src/highlighted_workspace_location.rs
+++ b/crates/recent_projects/src/highlighted_workspace_location.rs
@@ -61,7 +61,7 @@ impl HighlightedWorkspaceLocation {
.paths()
.iter()
.map(|path| {
- let full_path = util::paths::compact(&path);
+ let path = util::paths::compact(&path);
let highlighted_text = Self::highlights_for_path(
full_path.as_ref(),
&string_match.positions,