mirror of
https://github.com/google/comprehensive-rust.git
synced 2024-11-24 17:06:37 +02:00
parent
6d743dac5a
commit
fa6055c297
@ -9,7 +9,7 @@ If you want to immediately start the next iteration use
|
|||||||
|
|
||||||
If you want to exit any kind of loop early, use
|
If you want to exit any kind of loop early, use
|
||||||
[`break`](https://doc.rust-lang.org/reference/expressions/loop-expr.html#break-expressions).
|
[`break`](https://doc.rust-lang.org/reference/expressions/loop-expr.html#break-expressions).
|
||||||
For `loop`, this can take an optional expression that becomes the value of the
|
With `loop`, this can take an optional expression that becomes the value of the
|
||||||
`loop` expression.
|
`loop` expression.
|
||||||
|
|
||||||
```rust,editable
|
```rust,editable
|
||||||
|
Loading…
Reference in New Issue
Block a user