From 27f8fa75e19a5f821776aa06e40c03652ff28d86 Mon Sep 17 00:00:00 2001 From: llogiq Date: Fri, 7 Aug 2015 09:33:54 +0200 Subject: [PATCH] whitespace --- src/strings.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/strings.rs b/src/strings.rs index 8bd882cad..75133ec12 100644 --- a/src/strings.rs +++ b/src/strings.rs @@ -27,7 +27,7 @@ impl LintPass for StringAdd { } fn check_expr(&mut self, cx: &Context, e: &Expr) { - if let &ExprAssign(ref target, ref src) =&e.node { + if let &ExprAssign(ref target, ref src) = &e.node { if is_string(cx, target) && is_add(src, target) { span_lint(cx, STRING_ADD_ASSIGN, e.span, "You assign the result of adding something to this string. \