1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-07-01 10:41:03 +02:00

refactor: fix new clippy warning

This commit is contained in:
Jake Stanger 2023-10-17 20:22:19 +01:00
parent 40998475e2
commit 5582dcf373
No known key found for this signature in database
GPG key ID: C51FC8F9CB0BEA61

View file

@ -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());
});