missing format bit

This commit is contained in:
2020-12-24 11:40:15 -08:00
parent ebe061adc0
commit 23609e8f12

View File

@@ -178,7 +178,7 @@ impl Game {
println!("The winning card is {}", winning_card);
let (winner, _, _) = top_card_info
.drain(..)
.find(|(_,x,_)| *x == winning_card)
.find(|(_, x, _)| *x == winning_card)
.ok_or(TopLevelError::UnknownError)?;
winner.add_cards(winning_card, &mut top_cards);
}