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

@@ -16,7 +16,7 @@ use utils::{higher, sugg};
/// ```
declare_restriction_lint! {
pub ASSIGN_OPS,
"any assignment operation"
"any compound assignment operation"
}
/// **What it does:** Checks for `a = a op b` or `a = b commutative_op a` patterns.