Function advent_of_code_2023::day_8::parse_node
source · fn parse_node(node_spec: &str) -> (&str, (&'_ str, &'_ str))
Expand description
Parse a line in the format e.g. AAA = (BBB, CCC)
as a node labelled AAA
, linked to BBB
and CCC
on the left and right respectively.