From efdbfe0d3126b953eece0843e1177e086c594555 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Tue, 11 Aug 2015 23:11:20 +0530 Subject: [PATCH] nit --- src/misc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/misc.rs b/src/misc.rs index 305a11abe230..b3a741945521 100644 --- a/src/misc.rs +++ b/src/misc.rs @@ -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, ".."))) } }