From 923cb07872318eaffb2fc5c217b1f013040c1d09 Mon Sep 17 00:00:00 2001 From: endernon Date: Sun, 1 Dec 2024 21:21:28 +0000 Subject: [PATCH] change that wording to be family friendly --- .gitignore | 2 ++ 2024/day1/part1/step2/src/main.rs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .gitignore 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;