1
Fork 0

Make the lint docstrings more consistent.

This commit is contained in:
Georg Brandl 2016-08-06 09:55:04 +02:00
parent bc2ecc9623
commit 3b5ff0f813
72 changed files with 914 additions and 677 deletions

View file

@ -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.
///