1
Fork 0

Rename hir::Let into hir::LetExpr

This commit is contained in:
Guillaume Gomez 2024-03-20 16:47:11 +01:00
parent c86f3ac24f
commit 98e66553a6
14 changed files with 27 additions and 23 deletions

View file

@ -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) => {