Function advent_of_code_2021::day_10::check_line [−][src]
fn check_line(line: &str) -> Result<Vec<char>, ParseError>Expand description
Given a string, either return the list of closing braces needed to completely match the opening braces in order,
or return a ParseError if a closing brace that doesn’t match the expected value at any point in the string.
