summaryrefslogtreecommitdiffstats
path: root/src/launcher
diff options
context:
space:
mode:
authorLibravatar bigfoot547 <[email protected]>2025-01-01 16:11:41 -0600
committerLibravatar bigfoot547 <[email protected]>2025-01-01 16:11:41 -0600
commit242c22e9043602e601d5299749c5c0f4c4d1cd09 (patch)
treeed2ef60a44dd4ae9e704f3560ef0442e99755b30 /src/launcher
parentadd string sub algorithm (diff)
prelim launcher init code
Diffstat (limited to 'src/launcher')
-rw-r--r--src/launcher/strsub.rs2
1 files changed, 1 insertions, 1 deletions
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<T>(input: &mut String, sub: T)
where
T: Fn(/*key: */ &str) -> Option<String>