Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
liias committed Sep 21, 2024
1 parent fe0a8ca commit a15142f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/linux/linux_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ impl OsHelper {
let mut all_search_paths = default_paths();

// remove duplicate entries (e.g XDG_DATA_DIRS sometimes has every path twice)
let set: HashSet<_> = all_search_paths.drain(..).collect();
let set: HashSet<_> = all_search_paths.drain().collect();
all_search_paths.extend(set.into_iter());

// collect all .desktop file paths and map them by file name to remove duplicate files,
Expand Down

0 comments on commit a15142f

Please sign in to comment.