Skip to main content

expand_vars

Function expand_vars 

Source
pub fn expand_vars<S: BuildHasher>(
    s: &str,
    vars: &HashMap<String, String, S>,
) -> String
Expand description

Expand $VAR and ${VAR} in s using vars; undefined names expand to empty string.