From 9ef3e45bcd55ba27287085a63c4247aad33841a1 Mon Sep 17 00:00:00 2001 From: Petros Amoiridis Date: Thu, 30 Mar 2023 11:35:17 +0300 Subject: [PATCH] Update crates/recent_projects/src/highlighted_workspace_location.rs Co-authored-by: Antonio Scandurra --- crates/recent_projects/src/highlighted_workspace_location.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/recent_projects/src/highlighted_workspace_location.rs b/crates/recent_projects/src/highlighted_workspace_location.rs index ca8b8b2828..5c3505cccd 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,