mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 05:53:41 +02:00
Implement simple clippy suggestions (#159)
This commit is contained in:
@@ -94,7 +94,7 @@ fn launcher_shortcut(manifest: ManifestItem) -> ShortcutOwned {
|
||||
.as_ref()
|
||||
.map(|p| {
|
||||
p.parent()
|
||||
.unwrap_or(Path::new(""))
|
||||
.unwrap_or_else(||Path::new(""))
|
||||
.to_string_lossy()
|
||||
.to_string()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user