diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ec376bb --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.idea +target \ No newline at end of file diff --git a/2024/day1/part1/step2/src/main.rs b/2024/day1/part1/step2/src/main.rs index c116e9d..2f8b0ec 100644 --- a/2024/day1/part1/step2/src/main.rs +++ b/2024/day1/part1/step2/src/main.rs @@ -8,7 +8,7 @@ fn main() { list2.sort(); if list1.len() != list2.len() { - panic!("your lists are fucked") + panic!("your lists are broken. The length is not equal.") } let mut totaldiff: i64 = 0;