Function advent_of_code_2022::day_11::parse_branch
source · fn parse_branch(spec: &str) -> usize
Expand description
Parse a if/else branch of a monkey’s decision tree in the format If <true|false>: throw to monkey <index>
fn parse_branch(spec: &str) -> usize
Parse a if/else branch of a monkey’s decision tree in the format If <true|false>: throw to monkey <index>