Chore: Apply some minor clippy fixes
* Use `.elapsed()` for duration * Use direct iteration without calling `.iter()` and the like * order fields in the `Text` struct creation as declared
This commit is contained in:
parent
4613eb26cb
commit
efd0ff6ded
7 changed files with 13 additions and 19 deletions
|
|
@ -793,7 +793,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