Skip to content

Commit 3a11372

Browse files
authored
Merge pull request #3758 from RafaelKr/improve-control-flow-looping-wording
Improve ch03-05-control-flow collection looping wording
2 parents 4c6b181 + 62572d1 commit 3a11372

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ch03-05-control-flow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ evaluates to `true`, the code runs; otherwise, it exits the loop.
297297

298298
#### Looping Through a Collection with `for`
299299

300-
You can choose to use the `while` construct to loop over the elements of a
300+
You can also use the `while` construct to loop over the elements of a
301301
collection, such as an array. For example, the loop in Listing 3-4 prints each
302302
element in the array `a`.
303303

0 commit comments

Comments
 (0)