mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-06 16:57:04 +08:00
Fix typo mistake in one of for loops
This commit is contained in:
parent
6abbd9dd1b
commit
009b2963a8
@ -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:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user