Skip to content

Commit

Permalink
Change values of example array in for loop slide (#2592)
Browse files Browse the repository at this point in the history
  • Loading branch information
randomPoison authored Feb 6, 2025
1 parent cdab1a4 commit bb8cbbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/control-flow-basics/loops/for.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ fn main() {
println!("x: {x}");
}
for elem in [1, 2, 3, 4, 5] {
for elem in [2, 4, 8, 16, 32] {
println!("elem: {elem}");
}
}
Expand Down

0 comments on commit bb8cbbc

Please sign in to comment.