rayon-rs/rayon

Add an Iterator::cycle equivalent

Open

#330 opened on May 1, 2017

View on GitHub
 (6 comments) (3 reactions) (0 assignees)Rust (9,410 stars) (450 forks)batch import
enhancementhelp wantedparity-std

Description

fn cycle(self) -> Cycle<Self> where Self: Clone { ... }

@nikomatsakis's notes from the wiki:

  • This can probably be done for indexed parallel iterator, at least, sort of like chain?
  • Have to think about it =)

Contributor guide