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/spsc_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/spsc_queue.rs')
| -rw-r--r-- | src/libsync/spsc_queue.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libsync/spsc_queue.rs b/src/libsync/spsc_queue.rs index cb4d33049d8..9cd64d46bad 100644 --- a/src/libsync/spsc_queue.rs +++ b/src/libsync/spsc_queue.rs @@ -296,8 +296,6 @@ impl<T: Send> Drop for Queue<T> { mod test { use std::prelude::*; - use native; - use super::{queue}; #[test] @@ -364,7 +362,7 @@ mod test { let (consumer, mut producer) = queue(bound); let (tx, rx) = channel(); - native::task::spawn(proc() { + spawn(proc() { // Move the consumer to a local mutable slot let mut consumer = consumer; for _ in range(0u, 100000) { |
