Jason Newcomb
|
8bfc8bc5e0
|
Lint needless_collect on non-std collection types
|
2022-11-07 14:14:04 -05:00 |
|
Mateusz Gacek
|
171789eb45
|
needless_collect: Lint LinkedList and BinaryHeap in direct usage.
Those two types are supported already when used indirectly.
This commit adds support for direct usage as well.
|
2021-05-07 09:00:51 -07:00 |
|
Mateusz Gacek
|
a21607d9b5
|
needless_collect: For BTreeMap and HashMap lint only is_empty
- `len` might produce different results than `count`
- they don't have `contain` but `contains_key` method
|
2021-05-07 08:39:00 -07:00 |
|
Takayuki Maeda
|
7223ee6590
|
allow clippy::iter_count
|
2021-02-27 14:16:01 +09:00 |
|
Eduardo Broto
|
888657e09a
|
Fix ICE in loops module
|
2020-08-08 18:13:43 +02:00 |
|
Ericko Samudera
|
32fde0b511
|
New lint: iter_next_slice
|
2020-06-01 03:08:51 +07:00 |
|
Manish Goregaokar
|
980650eec2
|
needless_collect: fix suggestion, make test rustfixable
|
2019-09-25 14:45:18 -07:00 |
|