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

@@ -20,8 +20,9 @@ use utils::{in_macro, LimitStack, span_help_and_lint, paths, match_type};
///
/// **Example:** No. You'll see it when you get the warning.
declare_lint! {
pub CYCLOMATIC_COMPLEXITY, Warn,
"finds functions that should be split up into multiple functions"
pub CYCLOMATIC_COMPLEXITY,
Warn,
"functions that should be split up into multiple functions"
}
pub struct CyclomaticComplexity {