summaryrefslogtreecommitdiff
path: root/2025/ocaml
diff options
context:
space:
mode:
authorDJ O'Leary <dijitol@proton.me>2025-12-13 03:05:58 +0100
committerDJ O'Leary <dijitol@proton.me>2025-12-13 03:05:58 +0100
commit0f2faca977da2d24c8a654d9d9ef4b2581c673a1 (patch)
tree816de8488f42500036fa3e66e05aae4bf46f3687 /2025/ocaml
parent9edb0160899216af6fccd228ddedd7e9978c54e4 (diff)
chore(2025d3): reword failwith message
Diffstat (limited to '2025/ocaml')
-rw-r--r--2025/ocaml/lib/domain/d03p01.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/2025/ocaml/lib/domain/d03p01.ml b/2025/ocaml/lib/domain/d03p01.ml
index 7f56bdc..e951d4b 100644
--- a/2025/ocaml/lib/domain/d03p01.ml
+++ b/2025/ocaml/lib/domain/d03p01.ml
@@ -46,7 +46,7 @@ end = struct
| Some x, Some y ->
int_of_string (Battery.to_string x ^ Battery.to_string y)
| _ ->
- failwith "this branch should be impossible"
+ failwith "highest_joltage_aux must result in two digits"
and highest_joltage_aux acc = function
| [] ->