day-19 done

This commit is contained in:
Dylan Thies
2023-12-20 00:16:34 -05:00
parent 2ae7341d5e
commit e7703860b4
2 changed files with 269 additions and 5 deletions

View File

@@ -66,7 +66,7 @@ pub fn part1(input: &str) -> String {
if *label == OpLabel::Accept || *label == OpLabel::Reject {
return None;
}
let workflow = dbg!(workflows.get(label)).unwrap();
let workflow = workflows.get(label).unwrap();
workflow
.iter()
.find_map(|op| match op {