We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4147533 commit 4cfc174Copy full SHA for 4cfc174
compiler/rustc_ast_lowering/src/format.rs
@@ -604,8 +604,7 @@ fn may_contain_yield_point(e: &ast::Expr) -> bool {
604
if let ast::ExprKind::Await(_, _) | ast::ExprKind::Yield(_) = e.kind {
605
ControlFlow::Break(())
606
} else {
607
- visit::walk_expr(self, e);
608
- ControlFlow::Continue(())
+ visit::walk_expr(self, e)
609
}
610
611
0 commit comments