Hacker News new | ask | show | jobs
by tyilo 144 days ago
You probably just want to use `.peekable()`: https://doc.rust-lang.org/stable/std/iter/trait.Iterator.htm...
1 comments

Note that `peekable` will most likely break autovectorization