Skip to content

Commit 2ba03c8

Browse files
committed
Make Travis' rustfmt happy
1 parent 6760b35 commit 2ba03c8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

clippy_lints/src/loops.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -616,9 +616,7 @@ fn check_for_loop_arg(cx: &LateContext, pat: &Pat, arg: &Expr, expr: &Expr) {
616616
object,
617617
method_name),
618618
|db| {
619-
db.span_suggestion(arg.span,
620-
"to write this more concisely, try looping over",
621-
object.to_string());
619+
db.span_suggestion(arg.span, "to write this more concisely, try looping over", object.to_string());
622620
});
623621

624622
} else if &*method_name.as_str() == "next" && match_trait_method(cx, arg, &paths::ITERATOR) {

0 commit comments

Comments
 (0)