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`] |
||
|---|---|---|
| .. | ||
| macro_rules.rs | ||
| macro_use_helper.rs | ||
| non-exhaustive-enum.rs | ||
| option_helpers.rs | ||
| proc_macro_attr.rs | ||
| proc_macro_derive.rs | ||
| proc_macro_suspicious_else_formatting.rs | ||
| proc_macro_unsafe.rs | ||
| proc_macros.rs | ||
| test_macro.rs | ||
| use_self_macro.rs | ||
| wildcard_imports_helper.rs | ||