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`] |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| README.md | ||