From 242c22e9043602e601d5299749c5c0f4c4d1cd09 Mon Sep 17 00:00:00 2001 From: bigfoot547 Date: Wed, 1 Jan 2025 16:11:41 -0600 Subject: prelim launcher init code --- src/launcher/strsub.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/launcher') diff --git a/src/launcher/strsub.rs b/src/launcher/strsub.rs index fba449a..447021a 100644 --- a/src/launcher/strsub.rs +++ b/src/launcher/strsub.rs @@ -34,7 +34,7 @@ where // handles ${replacements} on this string IN-PLACE. Calls the "sub" function for each key it receives. // if "sub" returns None, it will use a default value or ignore the ${substitution}. -// There are no "invalid inputs" and this function should never panic. +// There are no "invalid inputs" and this function should never panic unless "sub" panics. pub fn replace_string(input: &mut String, sub: T) where T: Fn(/*key: */ &str) -> Option -- cgit v1.2.3-70-g09d2