Skip to content

Commit 24f80ea

Browse files
committed
Fix rustfmt
1 parent e6e7a6d commit 24f80ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/rustfmt/src/expr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ fn to_control_flow(expr: &ast::Expr, expr_type: ExprType) -> Option<ControlFlow<
660660
ast::ExprKind::ForLoop(ref pat, ref cond, ref block, label) => {
661661
Some(ControlFlow::new_for(pat, cond, block, label, expr.span))
662662
}
663-
ast::ExprKind::Loop(ref block, label) => {
663+
ast::ExprKind::Loop(ref block, label, _) => {
664664
Some(ControlFlow::new_loop(block, label, expr.span))
665665
}
666666
ast::ExprKind::While(ref cond, ref block, label) => {

0 commit comments

Comments
 (0)