Update crates/recent_projects/src/highlighted_workspace_location.rs

Co-authored-by: Antonio Scandurra <me@as-cii.com>
This commit is contained in:
Petros Amoiridis 2023-03-30 11:35:17 +03:00 committed by GitHub
parent b15632bd45
commit 9ef3e45bcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,