advent_of_code_2024::day_5

Function parse_rules

source
fn parse_rules(input: &str) -> HashMap<u32, HashSet<u32>>
Expand description

Build the Rules lookup by adding each rule in turn.