Function solp::parse_str

source ·
pub fn parse_str(contents: &str) -> Result<Solution<'_>>
Expand description

parse_str parses solution content from &str and returns Solution in case of success

§Errors

This function will return an error if solution file has invalid syntax or corrupted.