Commit cf878d8
committed
HIR: explain in comment why
One could be tempted to replace the "then" `hir::Expr` with kind
`hir::ExprKind::Block` by a `hir::Block`. Explain why this would not be
a good idea.ExprKind::If "then" is an Expr
1 parent c4e05e5 commit cf878d8
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2744 | 2744 | | |
2745 | 2745 | | |
2746 | 2746 | | |
| 2747 | + | |
| 2748 | + | |
2747 | 2749 | | |
2748 | 2750 | | |
2749 | 2751 | | |
| |||
0 commit comments