itertools::intersperse

Function intersperse

source
pub fn intersperse<I>(iter: I, elt: I::Item) -> Intersperse<I>
where I: Iterator,
Expand description

Create a new Intersperse iterator