Add snarky comment to day 8

This commit is contained in:
Nick Krichevsky 2021-12-08 02:25:59 -05:00
parent dd817d4535
commit d4cec854cf

View file

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