Johann made me clean up my code a bit (rust)

This commit is contained in:
Steph 2022-12-01 21:02:00 +01:00
parent dbc35b17ad
commit 44fb8bc6a4

View File

@ -96,7 +96,8 @@ fn main() {
let that_one_fucker: HashSet<usize> = &new_nums - &old_nums; let that_one_fucker: HashSet<usize> = &new_nums - &old_nums;
let sum: i32 = winning_boards.get(that_one_fucker let sum: i32 = winning_boards.get(
that_one_fucker
.iter() .iter()
.next() .next()
.unwrap() .unwrap()