Manish Goregaokar
|
73c34e12b3
|
Only handle ranges starting with 0 for needless_range_loop (fixes #279)
|
2015-09-02 16:11:54 +05:30 |
|
Georg Brandl
|
0217fb81ee
|
loops: fix false positives with explicit_iter_loop and references (fixes #261)
|
2015-08-31 08:29:40 +02:00 |
|
Georg Brandl
|
16df79a054
|
new lint: using collect() to just exhaust an iterator
Should use a for loop instead.
|
2015-08-30 13:10:59 +02:00 |
|
Georg Brandl
|
ffed5b0b23
|
loops: use a whitelist for the "x.iter() -> &x" lint (fixes #236)
|
2015-08-25 18:28:05 +02:00 |
|
Georg Brandl
|
e9a41e2374
|
new lint: lint when iterating over any Iterator::next() result (fixes #182)
|
2015-08-17 07:28:40 +02:00 |
|
Georg Brandl
|
9578403638
|
new lint: looping over x.iter() or x.iter_mut() (fixes #157)
|
2015-08-13 16:31:16 +02:00 |
|
Georg Brandl
|
f6090909d3
|
new lint: using for i in 0..x { .. vec[i] .. } instead of iterator (fixes #3)
|
2015-08-13 06:34:08 +02:00 |
|