Function aoc::year2022::day04::parse

source ยท
pub fn parse(input: &str) -> Vec<[u32; 4]>
Expand description

Parse each line into 4 integers.

Notes:

  • Extracting integers from redundant text is a very common theme in Advent of Code that the iter_unsigned method handles.