Skip to content

Commit

Permalink
allow(deprecated) for TaskPool (fixup rust-lang#22783)
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Feb 25, 2015
1 parent f164254 commit f8e4fcb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/libstd/sync/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ pub use self::barrier::{Barrier, BarrierWaitResult};
pub use self::poison::{PoisonError, TryLockError, TryLockResult, LockResult};

pub use self::future::Future;
#[allow(deprecated)]
pub use self::task_pool::TaskPool;

pub mod mpsc;
Expand Down
2 changes: 2 additions & 0 deletions src/libstd/sync/task_pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
https://crates.io/crates/threadpool")]
#![unstable(feature = "std_misc")]

#![allow(deprecated)]

use core::prelude::*;

use sync::{Arc, Mutex};
Expand Down

0 comments on commit f8e4fcb

Please sign in to comment.