Add snarky comment to day 8
This commit is contained in:
parent
dd817d4535
commit
d4cec854cf
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue