Function advent_of_code_2023::day_2::parse_cube
source · fn parse_cube(cube_str: &str) -> (&str, u8)
Expand description
Parse e.g. 17 green
as a numeric count and the colour string
fn parse_cube(cube_str: &str) -> (&str, u8)
Parse e.g. 17 green
as a numeric count and the colour string