Skip to content

Commit 91b36e4

Browse files
kkliboehuss
authored andcommitted
improve for loop description (copied from 'while let' equivalent)
1 parent 83f725f commit 91b36e4

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)