Functions§
- repeat
- Creates a parallel iterator that endlessly repeats
element
(by cloning it). Note that this iterator has “infinite” length, so typically you would want to usezip
ortake
or some other means to shorten it, or consider using therepeat_n()
function instead.