Update crates/recent_projects/src/highlighted_workspace_location.rs

Petros Amoiridis and Antonio Scandurra created

Co-authored-by: Antonio Scandurra <me@as-cii.com>

Change summary

crates/recent_projects/src/highlighted_workspace_location.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

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,