rust/src
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
..
docs Auto merge of #9409 - DesmondWillowbrook:iter_kv_map, r=xFrednet 2022-09-16 08:44:58 +00:00
docs.rs Auto merge of #9409 - DesmondWillowbrook:iter_kv_map, r=xFrednet 2022-09-16 08:44:58 +00:00
driver.rs Adjust cfgs 2022-08-12 16:28:15 -04:00
main.rs add --explain subcommand 2022-09-02 22:17:39 +02:00