Fix rustfmt
This commit is contained in:
parent
1343ffd564
commit
3d44530eb0
@ -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) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user