diff --git a/src/strings/mod.rs b/src/strings/mod.rs index c5b4061..6e214be 100644 --- a/src/strings/mod.rs +++ b/src/strings/mod.rs @@ -33,7 +33,7 @@ pub fn get_str(module: &str, symbol: &str) -> String { remove_trailing_whitespace(string) } -fn remove_trailing_whitespace(string: impl ToString) -> String { +pub fn remove_trailing_whitespace(string: impl ToString) -> String { let mut string = string.to_string(); if string.len() == 0 { return string } let chars = string.chars().collect::>();