bors 481dc2e81c Auto merge of #9409 - DesmondWillowbrook:iter_kv_map, r=xFrednet
Add `iter_kv_map` lint

fixes #9376

| before | after |
| -------------- | ------------------------- |
| `hmap.iter().map(\|(key, _)\| key)` | `hmap.keys()` |
| `hmap.iter().map(\|(_, v)\| v + 2)` | `hmap.values().map(\|v\| v + 2)` |
| `hmap.into_iter().map(\|(key, _)\| key)` | `hmap.into_keys()` |

Is `MachineApplicable`

changelog: [`iter_kv_map`]: added lint
2022-09-16 08:44:58 +00:00
..
2022-09-13 10:35:59 +02:00
2022-09-08 20:18:02 +00:00
2022-09-08 20:18:02 +00:00
2022-09-08 20:18:02 +00:00
2022-09-16 13:59:51 +05:30
2022-09-08 20:18:02 +00:00
2022-09-08 20:18:02 +00:00
2022-09-08 20:18:02 +00:00