Skip to content

Commit 3a45bb9

Browse files
committed
Fix mis-styled code
1 parent 6c87772 commit 3a45bb9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

compiler/rustc_typeck/src/check/upvar.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1829,7 +1829,10 @@ fn var_name(tcx: TyCtxt<'_>, var_hir_id: hir::HirId) -> Symbol {
18291829
tcx.hir().name(var_hir_id)
18301830
}
18311831

1832-
fn should_do_rust_2021_incompatible_closure_captures_analysis(tcx: TyCtxt<'_>, closure_id: hir::HirId) -> bool {
1832+
fn should_do_rust_2021_incompatible_closure_captures_analysis(
1833+
tcx: TyCtxt<'_>,
1834+
closure_id: hir::HirId,
1835+
) -> bool {
18331836
let (level, _) =
18341837
tcx.lint_level_at_node(lint::builtin::RUST_2021_INCOMPATIBLE_CLOSURE_CAPTURES, closure_id);
18351838

0 commit comments

Comments
 (0)