diff options
| author | bors <bors@rust-lang.org> | 2013-06-28 12:05:12 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-06-28 12:05:12 -0700 |
| commit | f44b951a1ea40b61508b2d0abb3f239797f885c5 (patch) | |
| tree | 326ffc88eb48938b5c57daad927cf6e7462a13e1 /src/libstd/rt/work_queue.rs | |
| parent | 4e4e2f70c90f01b5be22a192c883b9dcb34df7ff (diff) | |
| parent | 4f044891a5457acb06338c78f9aa58d8b4c9d53f (diff) | |
| download | rust-f44b951a1ea40b61508b2d0abb3f239797f885c5.tar.gz rust-f44b951a1ea40b61508b2d0abb3f239797f885c5.zip | |
auto merge of #7451 : cmr/rust/rewrite-each-path, r=pcwalton
Diffstat (limited to 'src/libstd/rt/work_queue.rs')
| -rw-r--r-- | src/libstd/rt/work_queue.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/rt/work_queue.rs b/src/libstd/rt/work_queue.rs index cfffc55a58c..00d27744268 100644 --- a/src/libstd/rt/work_queue.rs +++ b/src/libstd/rt/work_queue.rs @@ -13,7 +13,7 @@ use option::*; use vec::OwnedVector; use unstable::sync::{Exclusive, exclusive}; use cell::Cell; -use kinds::Owned; +use kinds::Send; use clone::Clone; pub struct WorkQueue<T> { @@ -21,7 +21,7 @@ pub struct WorkQueue<T> { priv queue: ~Exclusive<~[T]> } -impl<T: Owned> WorkQueue<T> { +impl<T: Send> WorkQueue<T> { pub fn new() -> WorkQueue<T> { WorkQueue { queue: ~exclusive(~[]) |
