We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e909a9d commit c1dd38eCopy full SHA for c1dd38e
active/0000-while-let.md
@@ -17,7 +17,7 @@ on this; if `while let` existed it could have been implemented to map `for PAT i
17
```rust
18
// the match here is so `for` can accept an rvalue for the iterator,
19
// and was used in the "real" desugaring version.
20
-match &mut BODY {
+match &mut EXPR {
21
i => {
22
while let Some(PAT) = i.next() {
23
BODY
0 commit comments