From 099912e57bc41992ce4e83947fb58793946e218f Mon Sep 17 00:00:00 2001 From: Philip Kristoffersen Date: Fri, 1 Apr 2022 18:08:30 +0200 Subject: [PATCH] Make function public --- src/heroic/heroic_game.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/heroic/heroic_game.rs b/src/heroic/heroic_game.rs index 4e6bb68..b441a4b 100644 --- a/src/heroic/heroic_game.rs +++ b/src/heroic/heroic_game.rs @@ -14,7 +14,7 @@ pub struct HeroicGame { } impl HeroicGame{ - fn is_installed(&self) -> bool{ + pub fn is_installed(&self) -> bool{ Path::new(&self.install_path).join(&self.executable).exists() } }