1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-03-27 16:25:43 +02:00

Change values of example array in for loop slide (#2592)

This commit is contained in:
Nicole L 2025-02-05 16:09:56 -08:00 committed by GitHub
parent cdab1a4ce5
commit bb8cbbcb7c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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}");
}
}