Make lint descriptions short and to the point; always fitting the column "triggers on".
This commit is contained in:
parent
3b5ff0f813
commit
b91c1a509e
51 changed files with 340 additions and 243 deletions
|
@ -14,8 +14,11 @@ use utils::span_lint;
|
|||
/// a + b < a
|
||||
/// ```
|
||||
|
||||
declare_lint!(pub OVERFLOW_CHECK_CONDITIONAL, Warn,
|
||||
"Using overflow checks which are likely to panic");
|
||||
declare_lint! {
|
||||
pub OVERFLOW_CHECK_CONDITIONAL,
|
||||
Warn,
|
||||
"overflow checks inspired by C which are likely to panic"
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone)]
|
||||
pub struct OverflowCheckConditional;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue