fallible_iterator

Function repeat

Source
pub fn repeat<T: Clone, E>(value: T) -> Repeat<T, E>
Expand description

Creates an iterator that endlessly repeats a single element.