summaryrefslogtreecommitdiffstats
path: root/examples/game_of_life
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector@hecrj.dev>2023-09-19 13:30:51 +0200
committerLibravatar GitHub <noreply@github.com>2023-09-19 13:30:51 +0200
commite8b01eb5435500c4b4d3135dde3d9e5910aca89e (patch)
tree668ef32e3f12f7b08e0869330ee5dbf337a47589 /examples/game_of_life
parent2ee2c658944b20a045a4b81209664930623300c9 (diff)
parentefd0ff6ded4e647e5fad0964555dbed541a075d7 (diff)
downloadiced-e8b01eb5435500c4b4d3135dde3d9e5910aca89e.tar.gz
iced-e8b01eb5435500c4b4d3135dde3d9e5910aca89e.tar.bz2
iced-e8b01eb5435500c4b4d3135dde3d9e5910aca89e.zip
Merge pull request #2092 from nyurik/clippy
Chore: Apply some minor clippy fixes
Diffstat (limited to 'examples/game_of_life')
-rw-r--r--examples/game_of_life/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/game_of_life/src/main.rs b/examples/game_of_life/src/main.rs
index 21a21142..437d89d5 100644
--- a/examples/game_of_life/src/main.rs
+++ b/examples/game_of_life/src/main.rs
@@ -792,7 +792,7 @@ mod grid {
}
}
- for (cell, amount) in adjacent_life.iter() {
+ for (cell, amount) in &adjacent_life {
match amount {
2 => {}
3 => {