diff options
Diffstat (limited to 'src/launcher/strsub.rs')
| -rw-r--r-- | src/launcher/strsub.rs | 2 |
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> |
