]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #13936 : Armavica/rust/lint_check-range, r=kballard
authorbors <bors@rust-lang.org>
Mon, 5 May 2014 08:41:39 +0000 (01:41 -0700)
committerbors <bors@rust-lang.org>
Mon, 5 May 2014 08:41:39 +0000 (01:41 -0700)
Some cases were not correctly handled by this lint, for instance `let a = 42u8; a < 0` and `let a = 42u8; a > 255`.
It led to the discovery of two useless comparisons, which I removed.


Trivial merge