Skip to main content

replace_str

Function replace_str 

Source
pub fn replace_str<T: AsRef<str>>(
    input: &str,
    variables: &HashMap<&str, T>,
) -> String
Expand description

Same as replace, but uses a HashMap<&str, T>.