]> git.lizzy.rs Git - rust.git/commitdiff
Remove "are you sure?" from lint msg.
authorGeorg Brandl <georg@python.org>
Mon, 12 Oct 2015 05:59:08 +0000 (07:59 +0200)
committerGeorg Brandl <georg@python.org>
Mon, 12 Oct 2015 05:59:08 +0000 (07:59 +0200)
No added value, and leads to punctuation clash.

src/attrs.rs

index 936548c04f8a2421f8b3583bafafa16d2051b607..79cec664adc3c3b021a70bc064a92b0ce2b8234d 100644 (file)
@@ -99,7 +99,7 @@ fn check_attrs(cx: &LateContext, span: Span, name: &Name,
                 if always != &"always" { continue; }
                 span_lint(cx, INLINE_ALWAYS, attr.span, &format!(
                     "you have declared `#[inline(always)]` on `{}`. This \
-                     is usually a bad idea. Are you sure?",
+                     is usually a bad idea",
                     name));
             }
         }