diff options
| author | bors <bors@rust-lang.org> | 2013-07-20 16:58:30 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-07-20 16:58:30 -0700 |
| commit | 75b4b1b027ec5c5b72d496b7a10da418d5308c01 (patch) | |
| tree | ddfc2e765cb0ca29eea8fb60196e7bff10fbb7c9 /src/rt/rust_kernel.cpp | |
| parent | bb8ca1f52cfa59e0040c2c749a1c46048fc6d48d (diff) | |
| parent | fe134b9509821e5e2fad5545cdd23c5325dfd583 (diff) | |
| download | rust-75b4b1b027ec5c5b72d496b7a10da418d5308c01.tar.gz rust-75b4b1b027ec5c5b72d496b7a10da418d5308c01.zip | |
auto merge of #7882 : blake2-ppc/rust/iterator-clone, r=thestinger
Implement method .cycle() that repeats an iterator endlessly Implement Clone for simple iterators (without closures), including VecIterator. > The theory is simple, the immutable iterators simply hold state > variables (indicies or pointers) into frozen containers. We can freely > clone these iterators, just like we can clone borrowed pointers.
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions
