Fix rustfmt

This commit is contained in:
Esteban Küber 2022-11-03 14:22:35 -07:00
parent e6e7a6db28
commit 24f80ea7d7

View File

@ -660,7 +660,7 @@ fn to_control_flow(expr: &ast::Expr, expr_type: ExprType) -> Option<ControlFlow<
ast::ExprKind::ForLoop(ref pat, ref cond, ref block, label) => { ast::ExprKind::ForLoop(ref pat, ref cond, ref block, label) => {
Some(ControlFlow::new_for(pat, cond, block, label, expr.span)) Some(ControlFlow::new_for(pat, cond, block, label, expr.span))
} }
ast::ExprKind::Loop(ref block, label) => { ast::ExprKind::Loop(ref block, label, _) => {
Some(ControlFlow::new_loop(block, label, expr.span)) Some(ControlFlow::new_loop(block, label, expr.span))
} }
ast::ExprKind::While(ref cond, ref block, label) => { ast::ExprKind::While(ref cond, ref block, label) => {