remove last_num from parsing, can just use prev token var

day_5_part_2_broken
Joey Pollack 2 years ago
parent 5c8f5c3c75
commit 7a1ab7831a

@ -65,7 +65,6 @@ fn parse_games(game_data: &str) -> Vec<Vec<CubeSample>>
// while current < tokens.len()
// {
// let mut last_num = 0;
// match tokens[current].ttype
// {
// TokenType::GAME => games.push(Vec::new()),

Loading…
Cancel
Save