repeat_except_first

Function repeat_except_first 

Source
pub fn repeat_except_first<T: Clone>(x: T) -> impl Iterator<Item = Option<T>>
Expand description

Yield None then infinitely many Some(x).