Clarify comments in day 4

master
Nick Krichevsky 2021-12-04 23:14:36 -05:00
parent 79157ac622
commit 66f55416e2
1 changed files with 2 additions and 1 deletions

View File

@ -37,12 +37,13 @@ struct BoardState {
board: BingoBoard,
}
/// `BingoGame` represents an active game of bingo and its state.
struct BingoGame {
calls: VecDeque<u8>,
boards: Vec<BoardState>,
}
/// `BingoPlayer` is an iterator that will iterate over the successive winners of a bingo game.
/// `BingoPlayer` is an iterator that will iterate over the successive winners of a `BingoGame`
struct BingoPlayer<'a> {
game: &'a mut BingoGame,
}