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,