From d4cec854cf920b89d9004d347bab2412b06b06a1 Mon Sep 17 00:00:00 2001 From: Nick Krichevsky Date: Wed, 8 Dec 2021 02:25:59 -0500 Subject: [PATCH] Add snarky comment to day 8 --- day8/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/day8/src/main.rs b/day8/src/main.rs index 6160165..0fac4d7 100644 --- a/day8/src/main.rs +++ b/day8/src/main.rs @@ -126,6 +126,7 @@ impl SevenSegmentSignals { ]); let sorted_str = s.chars().sorted().collect::(); + // Could this be a map? Yes. Is it? No. if sorted_str == one { Ok(1) } else if sorted_str == two {