Module aoc::util::iter

source ·
Expand description

Add a chunk method to Iterator that duplicates the functionality of the unstable array_chunks method.

Using Rust’s const generics, concrete implementations are provided for sizes 2 to 8 to handle the most common situations. Once array_chunks is stablized then this module can be removed.

Structs§

Traits§