From 7822d0c921af16dafa6134b00a20fdf49e63f99c Mon Sep 17 00:00:00 2001 From: Nick Cameron Date: Mon, 9 Apr 2018 09:54:07 +1200 Subject: [PATCH] Fix test --- src/expr.rs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/expr.rs b/src/expr.rs index b738d4ccb163..af51ae2ebc16 100644 --- a/src/expr.rs +++ b/src/expr.rs @@ -173,13 +173,7 @@ pub fn format_expr( }, ast::ExprKind::Closure(capture, movability, ref fn_decl, ref body, _) => { closures::rewrite_closure( - capture, - movability, - fn_decl, - body, - expr.span, - context, - shape, + capture, movability, fn_decl, body, expr.span, context, shape, ) } ast::ExprKind::Try(..)