Function repeat_n

fn repeat_n<A>(element: A, n: usize) -> RepeatN<A>
where
    A: Clone

Create an iterator that produces n repetitions of element.