Make Travis' rustfmt happy

This commit is contained in:
Pascal Hertleif 2017-01-28 14:17:37 +01:00
parent 6760b35e57
commit 2ba03c8467
1 changed files with 1 additions and 3 deletions

View File

@ -616,9 +616,7 @@ fn check_for_loop_arg(cx: &LateContext, pat: &Pat, arg: &Expr, expr: &Expr) {
object,
method_name),
|db| {
db.span_suggestion(arg.span,
"to write this more concisely, try looping over",
object.to_string());
db.span_suggestion(arg.span, "to write this more concisely, try looping over", object.to_string());
});
} else if &*method_name.as_str() == "next" && match_trait_method(cx, arg, &paths::ITERATOR) {