diff options
author | Hunky Jimpjorps <thechairman@thechairman.info> | 2023-12-08 09:42:11 -0500 |
---|---|---|
committer | Hunky Jimpjorps <thechairman@thechairman.info> | 2023-12-08 09:42:11 -0500 |
commit | 82c3ecec3de5111b460910bafe141b3aed478676 (patch) | |
tree | 98e1cb821151cea989608b3f55e8a8642fab3da0 /aoc2023/src/day3 | |
parent | c82dee4b12a824ff73dc91f89445d4df75d3c876 (diff) | |
download | gleam_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.gleam | 2 |
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 } } |