Skip to content

Commit

Permalink
small cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
paulcacheux committed Dec 7, 2023
1 parent 040d9dc commit e4e6fd3
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/aoc2023/day7.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,7 @@ impl Hand {
}
}
b'T' => 10,
b'9' => 9,
b'8' => 8,
b'7' => 7,
b'6' => 6,
b'5' => 5,
b'4' => 4,
b'3' => 3,
b'2' => 2,
d @ b'0'..=b'9' => d - b'0',
_ => unreachable!(),
};
}
Expand Down

0 comments on commit e4e6fd3

Please sign in to comment.