Fix typo mistake in one of for loops

This commit is contained in:
Rabia Alhaffar 2020-09-08 05:23:08 +03:00 committed by GitHub
parent 6abbd9dd1b
commit 009b2963a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -345,7 +345,7 @@ while (some_condition()) { /* do something */ }
``` ```
// ranged for // ranged for
for (x : [1,2,3]) { print(i); } for (i : [1, 2, 3]) { print(i); }
``` ```
Each of the loop styles can be broken using the `break` statement. For example: Each of the loop styles can be broken using the `break` statement. For example: