Skip to content

Fix use of array into iter #179

@mnaamani

Description

@mnaamani

https://github.com/Joystream/substrate-runtime-joystream/blob/385a376ed64e565ad410be76a7e424f0de340d66/src/lib.rs#L331

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.

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 <https://github.com/rust-lang/rust/issues/66145>rustc(array_into_iter)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions