Is the Chunks
iterator part of std:: or part of the itertools crate?
And itertools::structs::Chunks
-- these are distinct types. The std
one is an iterator on slices, providing items that are smaller slices. In itertools
, it's an adapter on any input iterator, and it provides Chunk
items that are themselves iterable to get its elements.
Thanks @cuviper and @RustyYato. Unfortunately their uses are close which is confusing.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.