Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 243109e

Browse files
committed
Remove an unnecessary continue.
1 parent 590a021 commit 243109e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

compiler/rustc_mir_transform/src/coroutine.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -558,8 +558,6 @@ fn transform_async_context<'tcx>(tcx: TyCtxt<'tcx>, body: &mut Body<'tcx>) {
558558
let local = eliminate_get_context_call(&mut body[bb]);
559559
replace_resume_ty_local(tcx, body, local, context_mut_ref);
560560
}
561-
} else {
562-
continue;
563561
}
564562
}
565563
TerminatorKind::Yield { resume_arg, .. } => {

0 commit comments

Comments
 (0)