diff options
Diffstat (limited to 'aoc2023/src/day3/solve.gleam')
-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 } } |