mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +00:00
spurious newline
This commit is contained in:
parent
84ad2be1df
commit
b40e80f039
1 changed files with 1 additions and 1 deletions
|
@ -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`");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue