diff options
| author | bors <bors@rust-lang.org> | 2014-03-23 02:41:53 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-03-23 02:41:53 -0700 |
| commit | 11c6817e13cf568167b7bffe66e528f1e8204635 (patch) | |
| tree | f4696ddb30eac09fb9eca2a658ca2f9740ece722 /src/libstd/sync | |
| parent | 2ddb60565423bdc225ccc8dd4ebfb653c5650ba2 (diff) | |
| parent | ae429056ffa166a9d3a15c8641a838a7a2f5f86e (diff) | |
| download | rust-11c6817e13cf568167b7bffe66e528f1e8204635.tar.gz rust-11c6817e13cf568167b7bffe66e528f1e8204635.zip | |
auto merge of #13090 : thestinger/rust/iter, r=Aatch
This has been rendered obsolete by partial type hints. Since the `~[T]` type is in the process of being removed, it needs to go away.
Diffstat (limited to 'src/libstd/sync')
| -rw-r--r-- | src/libstd/sync/deque.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/sync/deque.rs b/src/libstd/sync/deque.rs index 658ee48af1a..80a5b9ce3bb 100644 --- a/src/libstd/sync/deque.rs +++ b/src/libstd/sync/deque.rs @@ -494,7 +494,7 @@ mod tests { } } }) - }).to_owned_vec(); + }).collect::<~[Thread<()>]>(); while remaining.load(SeqCst) > 0 { match w.pop() { @@ -525,7 +525,7 @@ mod tests { Thread::start(proc() { stampede(w, s, 4, 10000); }) - }).to_owned_vec(); + }).collect::<~[Thread<()>]>(); for thread in threads.move_iter() { thread.join(); @@ -556,7 +556,7 @@ mod tests { } } }) - }).to_owned_vec(); + }).collect::<~[Thread<()>]>(); let mut rng = rand::task_rng(); let mut expected = 0; |
