Skip to content

Commit fb0f51c

Browse files
improve for loop description (copied from 'while let' equivalent)
1 parent 10a3bf5 commit fb0f51c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/expressions/loop-expr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ for n in 1..11 {
148148
assert_eq!(sum, 55);
149149
```
150150

151-
A for loop is equivalent to the following block expression.
151+
A `for` loop is equivalent to a `loop` expression containing a [`match` expression] as follows:
152152

153153
<!-- ignore: expansion example -->
154154
```rust,ignore

0 commit comments

Comments
 (0)