Fix minor typo in While-For chapter
if should have been it!
This commit is contained in:
parent
ce45bae4b0
commit
92d02d9c22
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ The combination: "infinite loop + `break` as needed" is great for situations whe
|
|||
|
||||
## Continue to the next iteration [#continue]
|
||||
|
||||
The `continue` directive is a "lighter version" of `break`. It doesn't stop the whole loop. Instead if stops the current iteration and forces the loop to start a new one (if the condition allows).
|
||||
The `continue` directive is a "lighter version" of `break`. It doesn't stop the whole loop. Instead it stops the current iteration and forces the loop to start a new one (if the condition allows).
|
||||
|
||||
We can use it if we're done on the current iteration and would like to move on to the next.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue