Skip to content

Commit

Permalink
refactor: fix new clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeStanger committed Oct 17, 2023
1 parent 4099847 commit 5582dcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/desktop_file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ fn parse_desktop_file(path: &Path) -> Option<DesktopFile> {
.for_each(|(key, value)| {
desktop_file
.entry(key.to_string())
.or_insert_with(Vec::new)
.or_default()
.push(value.to_string());
});

Expand Down

0 comments on commit 5582dcf

Please sign in to comment.