Skip to content

Commit 40a2556

Browse files
authored
Merge pull request #2485 from dianne/update-cond-loop-desugaring
update AST-to-HIR lowering examples for conditionals and loops
2 parents 29267fa + c760af1 commit 40a2556

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/hir/lowering.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,8 @@ of such structures include but are not limited to
77

88
* Parenthesis
99
* Removed without replacement, the tree structure makes order explicit
10-
* `for` loops and `while (let)` loops
11-
* Converted to `loop` + `match` and some `let` bindings
12-
* `if let`
13-
* Converted to `match`
10+
* `for` loops
11+
* Converted to `match` + `loop` + `match`
1412
* Universal `impl Trait`
1513
* Converted to generic arguments
1614
(but with some flags, to know that the user didn't write them)

0 commit comments

Comments
 (0)