Make the lint docstrings more consistent.
This commit is contained in:
parent
bc2ecc9623
commit
3b5ff0f813
72 changed files with 914 additions and 677 deletions
|
@ -2,10 +2,10 @@ use rustc::lint::*;
|
|||
use rustc::hir::*;
|
||||
use utils::span_lint;
|
||||
|
||||
/// **What it does:** This lint finds classic underflow / overflow checks.
|
||||
/// **What it does:** Detects classic underflow/overflow checks.
|
||||
///
|
||||
/// **Why is this bad?** Most classic C underflow / overflow checks will fail in Rust. Users can
|
||||
/// use functions like `overflowing_*` and `wrapping_*` instead.
|
||||
/// **Why is this bad?** Most classic C underflow/overflow checks will fail in
|
||||
/// Rust. Users can use functions like `overflowing_*` and `wrapping_*` instead.
|
||||
///
|
||||
/// **Known problems:** None.
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue