Remove an unnecessary continue.

This commit is contained in:
Nicholas Nethercote 2024-08-28 13:54:13 +10:00
parent 590a02173b
commit 243109e006

View File

@ -558,8 +558,6 @@ fn transform_async_context<'tcx>(tcx: TyCtxt<'tcx>, body: &mut Body<'tcx>) {
let local = eliminate_get_context_call(&mut body[bb]); let local = eliminate_get_context_call(&mut body[bb]);
replace_resume_ty_local(tcx, body, local, context_mut_ref); replace_resume_ty_local(tcx, body, local, context_mut_ref);
} }
} else {
continue;
} }
} }
TerminatorKind::Yield { resume_arg, .. } => { TerminatorKind::Yield { resume_arg, .. } => {