allow(deprecated) for TaskPool (fixup #22783)

This commit is contained in:
Manish Goregaokar 2015-02-25 11:45:06 +05:30
parent f164254392
commit f8e4fcb38c
2 changed files with 3 additions and 0 deletions

View File

@ -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;

View File

@ -16,6 +16,8 @@
https://crates.io/crates/threadpool")]
#![unstable(feature = "std_misc")]
#![allow(deprecated)]
use core::prelude::*;
use sync::{Arc, Mutex};