Improved error for wrong amount of lines

This commit is contained in:
Dreaded_X 2022-12-03 21:25:34 +01:00
parent 1b70661986
commit 89a62bf7b3

View File

@ -71,7 +71,7 @@ impl aoc::Solver for Day {
if let [a, b, c] = group {
(a, b, c)
} else {
panic!("Invalid input")
panic!("The total amount of lines should be a multiple of 3")
}
})
.map(|(a, b, c)| {