itertools

Function cons_tuples

Source
pub fn cons_tuples<I, J>(iterable: I) -> ConsTuples<I::IntoIter, J>
where I: IntoIterator<Item = J>,
Expand description

Create an iterator that maps for example iterators of ((A, B), C) to (A, B, C).