diff options
| author | bors <bors@rust-lang.org> | 2013-12-27 16:36:46 -0800 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-12-27 16:36:46 -0800 |
| commit | a5fa1d95bc422b8f7da00c5098db232916a0d1b7 (patch) | |
| tree | 14b67993ffed27f2ec40a23b4788c3b8cd1628ae /src/rustllvm/RustWrapper.cpp | |
| parent | 1a9c8cc1283675dfc1b85dbf80a9ea07a2b8b335 (diff) | |
| parent | 1da9112be9652a407e74b2ab93cc21145fc1ca2b (diff) | |
| download | rust-a5fa1d95bc422b8f7da00c5098db232916a0d1b7.tar.gz rust-a5fa1d95bc422b8f7da00c5098db232916a0d1b7.zip | |
auto merge of #11098 : erickt/rust/collect, r=alexcrichton
This patch changes `result::collect` (and adds a new `option::collect`) from creating a `~[T]` to take an `Iterator`. This makes the function much more flexible, and may replace the need for #10989. This patch is a little more complicated than it needs to be because of #11084. Once that is fixed we can replace the `CollectIterator` with a `Scan` iterator. It also fixes a test warning.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
