Rename hir::Let
into hir::LetExpr
This commit is contained in:
parent
c86f3ac24f
commit
98e66553a6
14 changed files with 27 additions and 23 deletions
|
@ -1387,7 +1387,7 @@ impl<'a> State<'a> {
|
|||
// Print `}`:
|
||||
self.bclose_maybe_open(expr.span, true);
|
||||
}
|
||||
hir::ExprKind::Let(&hir::Let { pat, ty, init, .. }) => {
|
||||
hir::ExprKind::Let(&hir::LetExpr { pat, ty, init, .. }) => {
|
||||
self.print_let(pat, ty, init);
|
||||
}
|
||||
hir::ExprKind::If(test, blk, elseopt) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue