Skip to main content

expand_string

Function expand_string 

Source
pub fn expand_string(
    s: &str,
    lookup: &dyn Lookup,
) -> Result<String, ExpandError>
Expand description

Expands ${VAR}/$VAR references in s. A reference that resolves to nothing becomes the empty string.