diff options
| author | kennytm <kennytm@gmail.com> | 2018-02-14 16:14:42 +0800 |
|---|---|---|
| committer | kennytm <kennytm@gmail.com> | 2018-02-14 18:25:22 +0800 |
| commit | bebd2fbfc836f871721057766a90775efa86e6a2 (patch) | |
| tree | 95c390683b7b3bc02ce8f7741ad131fcf381f875 /src/rustllvm/RustWrapper.cpp | |
| parent | dcb15269f676f5188f048d4ba014c402a1378086 (diff) | |
| parent | db13296b6fd6b68ab06055bdcb9a22078b11de6a (diff) | |
| download | rust-bebd2fbfc836f871721057766a90775efa86e6a2.tar.gz rust-bebd2fbfc836f871721057766a90775efa86e6a2.zip | |
Rollup merge of #48156 - Centril:feature/iterator_repeat_with, r=alexcrichton
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
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
