Add std/core::iter::repeat_with Adds an iterator primitive `repeat_with` which is the "lazy" version of `repeat` but also more flexible since you can build up state with the `FnMut`. The design is mostly taken from `repeat`. r? @rust-lang/libs cc @withoutboats, @scottmcm |
||
|---|---|---|
| .. | ||
| iterator.rs | ||
| mod.rs | ||
| range.rs | ||
| sources.rs | ||
| traits.rs | ||