Remove "are you sure?" from lint msg.
No added value, and leads to punctuation clash.
This commit is contained in:
parent
0bb4cbe859
commit
be2fb9ba11
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue