Skip to content

Commit 1872ce2

Browse files
committed
improve for loop description (copied from 'while let' equivalent)
1 parent 3621189 commit 1872ce2

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
@@ -147,7 +147,7 @@ for n in 1..11 {
147147
assert_eq!(sum, 55);
148148
```
149149

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

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

0 commit comments

Comments
 (0)