about summary refs log tree commit diff
path: root/src/rt/rust_run_program.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-04-20 04:27:48 -0700
committerbors <bors@rust-lang.org>2013-04-20 04:27:48 -0700
commit2b09267b762398a3c851ecfd55d5d01aee906352 (patch)
tree468c555122302bc625f904947d067d9b1837716f /src/rt/rust_run_program.cpp
parentf2b0ef147a436f39d199a887e8b4c65f570a900d (diff)
parenta0c2949e7c8c67fc7739482de8cee374a253b523 (diff)
downloadrust-2b09267b762398a3c851ecfd55d5d01aee906352.tar.gz
rust-2b09267b762398a3c851ecfd55d5d01aee906352.zip
auto merge of #5973 : huonw/rust/core-iterator-scan-consumers, r=thestinger
@thestinger r?

~~The 2 `_unlimited` functions are marked `unsafe` since they may not terminate.~~

The `state` fields of the `Unfoldr` and `Scan` iterators are public, since being able to access the final state after the iteration has finished seems reasonable/possibly useful.

~~Lastly, I converted the tests to use `.to_vec`, which halves the amount of code for them, but it means that a `.transform(|x| *x)` call is required on each iterator.~~ 

(removed the 2 commits with `to_vec` and `foldl`.)
Diffstat (limited to 'src/rt/rust_run_program.cpp')
0 files changed, 0 insertions, 0 deletions