Function simpleml::parse_owned
source · pub fn parse_owned(
source_text: &str
) -> Result<TreeNode<SMLElement<String>>, ParseError>
Expand description
Equivalent to parse, but returns Strings instead of Cows for better ease of use.
pub fn parse_owned(
source_text: &str
) -> Result<TreeNode<SMLElement<String>>, ParseError>
Equivalent to parse, but returns Strings instead of Cows for better ease of use.