From f9d168af37f5f779a5bf6e7319e95176cab70cb1 Mon Sep 17 00:00:00 2001 From: Daniel Ceballos Date: Thu, 5 Oct 2023 12:15:24 -0600 Subject: [PATCH] Correct variable name inside for loop --- en/src/flow-control.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/src/flow-control.md b/en/src/flow-control.md index 0443c8a..a249610 100644 --- a/en/src/flow-control.md +++ b/en/src/flow-control.md @@ -72,7 +72,7 @@ fn main() { let numbers = [1, 2, 3]; // The elements in numbers are Copy,so there is no move here for n in numbers { - // Do something with name... + // Do something with n... } println!("{:?}", numbers);