From 3e6d025b74208d53787e1642edacc471099a4e62 Mon Sep 17 00:00:00 2001 From: snow flurry Date: Mon, 10 Jul 2023 14:34:25 -0700 Subject: [PATCH] explain get_steamdir --- src/user.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/user.rs b/src/user.rs index 339803f..260e3ca 100644 --- a/src/user.rs +++ b/src/user.rs @@ -21,6 +21,7 @@ impl HeuristicError { } } +/// Gets the Steam local directory pub fn get_steamdir() -> Result> { let mut dir = dirs::data_local_dir().unwrap_or_else(|| { let mut dir = dirs::home_dir().unwrap();