format adjust

This commit is contained in:
f001 2017-02-12 17:24:59 +08:00
parent 98aa0db0ac
commit 5a039f68f7

View File

@ -908,7 +908,8 @@ fn lint_iter_cloned_collect(cx: &LateContext, expr: &hir::Expr, iter_args: &[hir
span_lint(cx,
ITER_CLONED_COLLECT,
expr.span,
"called `cloned().collect()` on a slice to create a `Vec`. This is more succinctly expressed by calling `to_owned(x)`");
"called `cloned().collect()` on a slice to create a `Vec`. This is more succinctly expressed by \
calling `to_owned(x)`");
}
}