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 {