refactor: fix new clippy warning
This commit is contained in:
@@ -180,7 +180,7 @@ fn parse_desktop_file(path: &Path) -> Option<DesktopFile> {
|
|||||||
.for_each(|(key, value)| {
|
.for_each(|(key, value)| {
|
||||||
desktop_file
|
desktop_file
|
||||||
.entry(key.to_string())
|
.entry(key.to_string())
|
||||||
.or_insert_with(Vec::new)
|
.or_default()
|
||||||
.push(value.to_string());
|
.push(value.to_string());
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user