aoc::year2018::day24

Function parse_list

Source
fn parse_list<'a>(
    tokens: &[&'a str],
    start: &str,
    mask: &mut impl FnMut(&'a str) -> u32,
) -> u32
Expand description

There can be any amount of weaknesses or immunities.