diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2022-11-03 14:22:35 -0700 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2022-11-23 12:17:47 -0800 |
| commit | 3d44530eb081d6ffb45124bb25feb2738f6f09ac (patch) | |
| tree | dcf5a2a824cd90db48b71186faec77621653a69d /src/expr.rs | |
| parent | 1343ffd564fbaed96e800a125e3d2b43de09beea (diff) | |
Fix rustfmt
Diffstat (limited to 'src/expr.rs')
| -rw-r--r-- | src/expr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr.rs b/src/expr.rs index d5611082f01..414e767690b 100644 --- a/src/expr.rs +++ b/src/expr.rs @@ -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) => { 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)) } ast::ExprKind::While(ref cond, ref block, label) => { |
