]> git.lizzy.rs Git - rust.git/commitdiff
nit
authorManish Goregaokar <manishsmail@gmail.com>
Tue, 11 Aug 2015 17:41:20 +0000 (23:11 +0530)
committerManish Goregaokar <manishsmail@gmail.com>
Tue, 11 Aug 2015 17:41:20 +0000 (23:11 +0530)
src/misc.rs

index 305a11abe230581b95ec7ababf63a3faad953d68..b3a7419455212f97bf0e3c0e0e4986b26816732e 100644 (file)
@@ -322,7 +322,7 @@ fn check_final_expr(&mut self, cx: &Context, expr: &Expr) {
     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, "..")))
     }
 }