rustmax::itertools

Function put_back

Source
pub fn put_back<I>(iterable: I) -> PutBack<<I as IntoIterator>::IntoIter> 
where I: IntoIterator,
Expand description

Create an iterator where you can put back a single item