mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 05:53:41 +02:00
Fix typo renamed to "NeedsProton" (#440)
Update platform.rs scope name Update platform.rs trait name Update heroic_platform.rs trait Update gog_platform.rs trait Update itch_game.rs trait Update platform.rs trait Update origin_platform.rs traits Update epic_platform.rs trait Update platform.rs traits Update heroic_platform.rs trait Update gog_platform.rs traits Update itch_game.rs trait Remove space.
This commit is contained in:
@@ -35,7 +35,7 @@ pub(crate) fn to_shortcuts<T, P>(
|
||||
) -> eyre::Result<Vec<ShortcutToImport>>
|
||||
where
|
||||
T: Into<ShortcutOwned>,
|
||||
T: NeedsPorton<P>,
|
||||
T: NeedsProton<P>,
|
||||
{
|
||||
let shortcuts = into_shortcuts?;
|
||||
let mut shortcut_info = vec![];
|
||||
@@ -73,7 +73,7 @@ where
|
||||
Ok(shortcut_info)
|
||||
}
|
||||
|
||||
pub trait NeedsPorton<P> {
|
||||
pub trait NeedsProton<P> {
|
||||
fn needs_proton(&self, platform: &P) -> bool;
|
||||
|
||||
fn create_symlinks(&self, platform: &P) -> bool;
|
||||
|
||||
Reference in New Issue
Block a user