Function arr

Source
pub fn arr<T, I: IntoIterator<Item = T> + FromIterator<T>, const N: usize>(
    item: [T; N],
) -> I
Expand description

Construct an iterator from an array.

This is magic since this also enables macro recursion on array literals.

[a, b, c] -> [a.into(), b.into(), c.into()].into_iter().collect().