Fix cargo clippy suggestions

This commit is contained in:
Philip
2021-10-10 13:49:00 +02:00
parent 0bcbdba158
commit 1a14e24173
8 changed files with 35 additions and 48 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ impl From<ManifestItem> for ShortcutOwned {
manifest.install_location, manifest.launch_executable
);
let mut start_dir = manifest.install_location.clone();
if !manifest.install_location.starts_with("\"") {
if !manifest.install_location.starts_with('"') {
start_dir = format!("\"{}\"", manifest.install_location);
}
let shortcut = Shortcut::new(