1
Fork 0

Make lint descriptions short and to the point; always fitting the column "triggers on".

This commit is contained in:
Georg Brandl 2016-08-06 10:18:36 +02:00
parent 3b5ff0f813
commit b91c1a509e
51 changed files with 340 additions and 243 deletions

View file

@ -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;