diff options
| author | bors <bors@rust-lang.org> | 2014-10-20 16:07:43 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-10-20 16:07:43 +0000 |
| commit | 7d0cc44f873ac338b400b20bcb62618aa5d36b70 (patch) | |
| tree | 411feaee5e6f1a35f5ddb3167d560b5422b8a473 /src/libsync/mpmc_bounded_queue.rs | |
| parent | dcbd49ff88d55f703e5a307e34e408d387a8a312 (diff) | |
| parent | 96445a533e8ea40701e2a9bbd25347141e63c115 (diff) | |
| download | rust-7d0cc44f873ac338b400b20bcb62618aa5d36b70.tar.gz rust-7d0cc44f873ac338b400b20bcb62618aa5d36b70.zip | |
auto merge of #18070 : alexcrichton/rust/spring-cleaning, r=aturon
This is a large spring-cleaning commit now that the 0.12.0 release has passed removing an amount of deprecated functionality. This removes a number of deprecated crates (all still available as cargo packages in the rust-lang organization) as well as a slew of deprecated functions. All `#[crate_id]` support has also been removed. I tried to avoid anything that was recently deprecated, but I may have missed something! The major pain points of this commit is the fact that rustc/syntax have `#[allow(deprecated)]`, but I've removed that annotation so moving forward they should be cleaned up as we go.
Diffstat (limited to 'src/libsync/mpmc_bounded_queue.rs')
| -rw-r--r-- | src/libsync/mpmc_bounded_queue.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libsync/mpmc_bounded_queue.rs b/src/libsync/mpmc_bounded_queue.rs index fa29bb6088a..b3b504f49ca 100644 --- a/src/libsync/mpmc_bounded_queue.rs +++ b/src/libsync/mpmc_bounded_queue.rs @@ -167,7 +167,6 @@ impl<T: Send> Clone for Queue<T> { mod tests { use std::prelude::*; use super::Queue; - use native; #[test] fn test() { @@ -180,7 +179,7 @@ mod tests { for _ in range(0, nthreads) { let q = q.clone(); let tx = tx.clone(); - native::task::spawn(proc() { + spawn(proc() { let q = q; for i in range(0, nmsgs) { assert!(q.push(i)); @@ -194,7 +193,7 @@ mod tests { let (tx, rx) = channel(); completion_rxs.push(rx); let q = q.clone(); - native::task::spawn(proc() { + spawn(proc() { let q = q; let mut i = 0u; loop { |
