Remove an unnecessary continue
.
This commit is contained in:
parent
590a02173b
commit
243109e006
@ -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, .. } => {
|
||||||
|
Loading…
Reference in New Issue
Block a user