Remove "are you sure?" from lint msg.

No added value, and leads to punctuation clash.
This commit is contained in:
Georg Brandl 2015-10-12 07:59:08 +02:00
parent 0bb4cbe859
commit be2fb9ba11

View 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));
}
}