Function repeatn

Source
pub fn repeatn<T: Clone + Send>(element: T, n: usize) -> RepeatN<T>
👎Deprecated: use repeat_n
Expand description

Creates a parallel iterator that produces n repeats of element (by cloning it).

Deprecated in favor of repeat_n for consistency with the standard library.