From 82c3ecec3de5111b460910bafe141b3aed478676 Mon Sep 17 00:00:00 2001 From: Hunky Jimpjorps Date: Fri, 8 Dec 2023 09:42:11 -0500 Subject: updated for new exhaustiveness checks in 0.33 --- aoc2023/src/day3/solve.gleam | 2 ++ 1 file changed, 2 insertions(+) (limited to 'aoc2023/src/day3') 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 } } -- cgit v1.2.3