Merge pull request #462 from DannyCeb/master

Correct variable name inside the comment on the for loop.
This commit is contained in:
Sunface
2023-10-09 09:20:41 +08:00
committed by GitHub

View File

@ -72,7 +72,7 @@ fn main() {
let numbers = [1, 2, 3];
// The elements in numbers are Copyso there is no move here
for n in numbers {
// Do something with name...
// Do something with n...
}
println!("{:?}", numbers);