Skip to main content

expand_placeholders

Function expand_placeholders 

Source
pub fn expand_placeholders<F>(
    input: &str,
    placeholders: &HashMap<String, String>,
    lookup: &F,
) -> Result<String>
where F: Fn(&str) -> Result<Option<String>>,