Merge pull request #42 from vikaspotluri123/patch-3

Fix minor typo in While-For chapter
This commit is contained in:
Ilya Kantor 2017-06-15 09:42:02 +03:00 committed by GitHub
commit f17468fc65

View file

@ -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.