Skip to content

Commit

Permalink
Merge pull request #3758 from RafaelKr/improve-control-flow-looping-w…
Browse files Browse the repository at this point in the history
…ording

Improve ch03-05-control-flow collection looping wording
  • Loading branch information
chriskrycho committed Mar 27, 2024
2 parents 4c6b181 + 62572d1 commit 3a11372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ch03-05-control-flow.md
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ evaluates to `true`, the code runs; otherwise, it exits the loop.

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

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

Expand Down

0 comments on commit 3a11372

Please sign in to comment.