about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-02-14 16:14:42 +0800
committerkennytm <kennytm@gmail.com>2018-02-14 18:25:22 +0800
commitbebd2fbfc836f871721057766a90775efa86e6a2 (patch)
tree95c390683b7b3bc02ce8f7741ad131fcf381f875 /src/rustllvm/RustWrapper.cpp
parentdcb15269f676f5188f048d4ba014c402a1378086 (diff)
parentdb13296b6fd6b68ab06055bdcb9a22078b11de6a (diff)
downloadrust-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