Fix clippy issues on all days

Signed-off-by: Anthony Oteri <anthony.oteri@gmail.com>
This commit is contained in:
Anthony Oteri
2023-12-12 16:10:25 -05:00
parent 530417e816
commit d62345b5c0
4 changed files with 12 additions and 16 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ fn parse_input(input: &str) -> Vec<Game> {
for line in input.lines() {
let mut bags = Vec::new();
let (game_part, bags_part) = line.split_once(":").unwrap();
let (game_part, bags_part) = line.split_once(':').unwrap();
let game_id = game_part
.strip_prefix("Game ")