Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert .into_iter() into .iter() as suggested by the compiler.
This fixes the following warning issued by rustc 1.41.0: warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. --> src/lib.rs:921:55 | 921 | ["github:", "github topic:", "github issue:"].into_iter(), | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` | = note: `#[warn(array_into_iter)]` on by default = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #66145 <rust-lang/rust#66145>
- Loading branch information