spurious newline

This commit is contained in:
Manish Goregaokar 2015-11-23 16:34:23 +05:30
parent 84ad2be1df
commit b40e80f039

View file

@ -85,7 +85,7 @@ impl LateLintPass for MethodsPass {
if has_debug_impl(error_type, cx) { if has_debug_impl(error_type, cx) {
span_lint(cx, OK_EXPECT, expr.span, span_lint(cx, OK_EXPECT, expr.span,
"called `ok().expect()` on a Result \ "called `ok().expect()` on a Result \
value. You can call `expect` directly value. You can call `expect` directly \
on the `Result`"); on the `Result`");
} }
} }