This commit is contained in:
Manish Goregaokar 2015-08-11 23:11:20 +05:30
parent 0ff476b529
commit efdbfe0d31
1 changed files with 1 additions and 1 deletions

View File

@ -322,7 +322,7 @@ impl NeedlessReturn {
fn emit_lint(&mut self, cx: &Context, spans: (Span, Span)) {
span_lint(cx, NEEDLESS_RETURN, spans.0, &format!(
"unneeded return statement. Consider using {} \
without trailing semicolon",
without the trailing semicolon",
snippet(cx, spans.1, "..")))
}
}