Merge pull request #2092 from nyurik/clippy
Chore: Apply some minor clippy fixes
This commit is contained in:
commit
e8b01eb543
7 changed files with 13 additions and 19 deletions
|
|
@ -792,7 +792,7 @@ mod grid {
|
|||
}
|
||||
}
|
||||
|
||||
for (cell, amount) in adjacent_life.iter() {
|
||||
for (cell, amount) in &adjacent_life {
|
||||
match amount {
|
||||
2 => {}
|
||||
3 => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue