aboutsummaryrefslogtreecommitdiff
path: root/aoc2023/src/day3
diff options
context:
space:
mode:
authorHunky Jimpjorps <thechairman@thechairman.info>2023-12-08 09:42:11 -0500
committerHunky Jimpjorps <thechairman@thechairman.info>2023-12-08 09:42:11 -0500
commit82c3ecec3de5111b460910bafe141b3aed478676 (patch)
tree98e1cb821151cea989608b3f55e8a8642fab3da0 /aoc2023/src/day3
parentc82dee4b12a824ff73dc91f89445d4df75d3c876 (diff)
downloadgleam_aoc-82c3ecec3de5111b460910bafe141b3aed478676.tar.gz
gleam_aoc-82c3ecec3de5111b460910bafe141b3aed478676.zip
updated for new exhaustiveness checks in 0.33
Diffstat (limited to 'aoc2023/src/day3')
-rw-r--r--aoc2023/src/day3/solve.gleam2
1 files changed, 2 insertions, 0 deletions
diff --git a/aoc2023/src/day3/solve.gleam b/aoc2023/src/day3/solve.gleam
index fa16bb8..ad975aa 100644
--- a/aoc2023/src/day3/solve.gleam
+++ b/aoc2023/src/day3/solve.gleam
@@ -87,8 +87,10 @@ fn do_parts(cells: List(Cell), parts: List(Part)) -> List(Part) {
do_parts(t, [Part([next, ..coords], n0 * 10 + n), ..rest_parts])
_, _ -> do_parts(t, [Part([next], n), ..parts])
}
+ _ -> panic
}
}
+ _ -> panic
}
}