diff --git a/day4/src/main.rs b/day4/src/main.rs index 07f3b26..eb8b0c5 100644 --- a/day4/src/main.rs +++ b/day4/src/main.rs @@ -37,12 +37,13 @@ struct BoardState { board: BingoBoard, } +/// `BingoGame` represents an active game of bingo and its state. struct BingoGame { calls: VecDeque, boards: Vec, } -/// `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, }