mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-01 09:33:26 +00:00
Merge remote-tracking branch 'ben0x539/incoming'
Conflicts: doc/tutorial.md
This commit is contained in:
commit
f3669dfc5d
@ -1729,7 +1729,7 @@ Empty argument lists can be omitted from `do` expressions.
|
||||
|
||||
Most iteration in Rust is done with `for` loops. Like `do`,
|
||||
`for` is a nice syntax for doing control flow with closures.
|
||||
Additionally, within a `for` loop, `break, `again`, and `ret`
|
||||
Additionally, within a `for` loop, `break`, `again`, and `ret`
|
||||
work just as they do with `while` and `loop`.
|
||||
|
||||
Consider again our `each` function, this time improved to
|
||||
|
Loading…
Reference in New Issue
Block a user