bors 8a30f2f71a Auto merge of #10814 - y21:issue10743, r=llogiq
new lint: `explicit_into_iter_fn_arg`

Closes #10743.
This adds a lint that looks for `.into_iter()` calls in a call expression to a function that already expects an `IntoIterator`. In those cases, explicitly calling `.into_iter()` is unnecessary.
There were a few instances of this in clippy itself so I fixed those as well in this PR.

changelog: new lint [`explicit_into_iter_fn_arg`]
2023-06-03 15:57:36 +00:00
..
2023-05-24 11:06:56 -05:00
2023-05-24 11:06:56 -05:00
2023-05-21 15:07:53 +02:00
2022-10-01 10:03:06 +00:00
2023-06-02 14:46:27 +02:00
2023-06-02 14:46:27 +02:00
2022-10-26 12:24:37 +08:00
2023-06-02 13:26:12 -05:00
2023-06-02 13:26:12 -05:00
2023-05-22 23:00:28 -04:00
2023-05-22 23:00:28 -04:00
2023-05-22 20:02:45 -04:00
2023-05-22 23:00:28 -04:00
2023-05-22 23:00:28 -04:00
2023-05-22 20:02:45 -04:00
2022-10-01 10:03:06 +00:00
fix
2022-04-23 22:45:26 +09:00