Johann made me clean up my code a bit (rust)
This commit is contained in:
parent
44fb8bc6a4
commit
e226804c46
@ -69,7 +69,7 @@ fn main() {
|
|||||||
.len() > 0
|
.len() > 0
|
||||||
).collect();
|
).collect();
|
||||||
|
|
||||||
if winning_boards.len() == 1 {
|
if last_winning_boards.len() == 0 && winning_boards.len() == 1 {
|
||||||
let sum: i32 = winning_boards
|
let sum: i32 = winning_boards
|
||||||
.iter()
|
.iter()
|
||||||
.map(|(_, x)| x)
|
.map(|(_, x)| x)
|
||||||
|
Loading…
Reference in New Issue
Block a user