Merge pull request #623 from mcarton/redundant
Be more consistent in lint declarations
This commit is contained in:
commit
f53a830c8c
46 changed files with 472 additions and 275 deletions
|
|
@ -4,7 +4,7 @@ use utils::{walk_ptrs_ty_depth, match_type, span_lint, OPEN_OPTIONS_PATH};
|
|||
use syntax::codemap::{Span, Spanned};
|
||||
use syntax::ast::Lit_::LitBool;
|
||||
|
||||
/// **What it does:** This lint checks for duplicate open options as well as combinations that make no sense. It is `Warn` by default.
|
||||
/// **What it does:** This lint checks for duplicate open options as well as combinations that make no sense.
|
||||
///
|
||||
/// **Why is this bad?** In the best case, the code will be harder to read than necessary. I don't know the worst case.
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue