Skip to content

Commit 85ad773

Browse files
authored
Add missing brace
1 parent 899aae4 commit 85ad773

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_passes/src/dead.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ fn should_explore(tcx: TyCtxt<'_>, hir_id: hir::HirId) -> bool {
3737
)
3838
}
3939

40-
fn base_expr<'a>(mut expr: &'a hir::Expr<'a>) -> &'a hir::Expr<'a>
40+
fn base_expr<'a>(mut expr: &'a hir::Expr<'a>) -> &'a hir::Expr<'a> {
4141
loop {
4242
match expr.kind {
4343
hir::ExprKind::Field(base, ..) => expr = base,

0 commit comments

Comments
 (0)