pub fn parse_str_with_name(
text: &str,
format: &str,
name_hint: Option<&str>,
) -> Result<Parsed>Expand description
parse_str with a name hint for formats that carry no name of their own
(the role the file stem plays in parse_file). Lets a caller that already
read a file’s text keep the stem-derived case name without going back
through the filesystem.
§Errors
As parse_str.