mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 05:53:41 +02:00
Minor refactors based on cargo clippy
This commit is contained in:
@@ -27,7 +27,7 @@ pub(crate) fn get_egs_manifests(
|
||||
manifest.manifest_location = compat_folder
|
||||
.join("pfx")
|
||||
.join("drive_c")
|
||||
.join(&manifest.manifest_location[3..].replace("\\", "/"))
|
||||
.join(&manifest.manifest_location[3..].replace('\\', "/"))
|
||||
.to_path_buf()
|
||||
.to_string_lossy()
|
||||
.to_string();
|
||||
@@ -35,7 +35,7 @@ pub(crate) fn get_egs_manifests(
|
||||
manifest.install_location = compat_folder
|
||||
.join("pfx")
|
||||
.join("drive_c")
|
||||
.join(&manifest.install_location[3..].replace("\\", "/"))
|
||||
.join(&manifest.install_location[3..].replace('\\', "/"))
|
||||
.to_path_buf()
|
||||
.to_string_lossy()
|
||||
.to_string();
|
||||
|
||||
+1
-1
@@ -68,7 +68,7 @@ mod unix {
|
||||
//We found all we need
|
||||
return Some(EpicPaths {
|
||||
launcher_path,
|
||||
compat_folder_path: Some(dir.path().to_path_buf()),
|
||||
compat_folder_path: Some(dir.path()),
|
||||
manifest_folder_path,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user