mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 05:53:41 +02:00
Add utility to help format the code (#247)
Signed-off-by: Aisuko <urakiny@gmail.com>
This commit is contained in:
@@ -42,7 +42,7 @@ pub(crate) fn get_egs_manifests(
|
||||
}
|
||||
}
|
||||
}
|
||||
let mut manifests :Vec<ManifestItem> = all_manifests
|
||||
let mut manifests: Vec<ManifestItem> = all_manifests
|
||||
.filter(is_game_installed)
|
||||
.filter(is_game_launchable)
|
||||
.collect();
|
||||
@@ -71,7 +71,6 @@ pub(crate) fn get_egs_manifests(
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
fn is_game_installed(manifest: &ManifestItem) -> bool {
|
||||
Path::new(manifest.manifest_location.as_str()).exists()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user