pub fn replace_str<T: AsRef<str>>( input: &str, variables: &HashMap<&str, T>, ) -> String
Same as replace, but uses a HashMap<&str, T>.
replace
HashMap<&str, T>