Function advent_of_code_2021::day_5::parse_input[−][src]

fn parse_input(input: String) -> Vec<Line>ⓘ
Notable traits for Vec<u8, A>
impl<A> Write for Vec<u8, A> where
    A: Allocator, 
Expand description

Takes a string with lines in the form (x1,y1) -> (x2,y2) and converts it into a list of Lines. Parsed using a regular expression.