parse_string_cow

Function parse_string_cow 

Source
pub fn parse_string_cow<'a, Iter, C>(
    input: &str,
    base_dir: impl AsRef<Path>,
    parameters: Iter,
) -> Result<String, Error>
where Iter: Iterator<Item = C>, C: Into<Cow<'a, str>>,
Expand description

Same as parse_string, but the parameters iterator has an item of impl Into<Cow<str>>. This is so that an empty iterator can be passed to parse_string.