Add snarky comment to day 8

master
Nick Krichevsky 2021-12-08 02:25:59 -05:00
parent dd817d4535
commit d4cec854cf
1 changed files with 1 additions and 0 deletions

View File

@ -126,6 +126,7 @@ impl SevenSegmentSignals {
]);
let sorted_str = s.chars().sorted().collect::<String>();
// Could this be a map? Yes. Is it? No.
if sorted_str == one {
Ok(1)
} else if sorted_str == two {