Skip to content

Commit d400c43

Browse files
committed
Remove an unnecessary continue.
1 parent 146f97b commit d400c43

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

compiler/rustc_mir_transform/src/coroutine.rs

-2
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)