mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-10 14:02:57 +00:00
allow(deprecated) for TaskPool (fixup #22783)
This commit is contained in:
parent
f164254392
commit
f8e4fcb38c
@ -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;
|
||||
|
@ -16,6 +16,8 @@
|
||||
https://crates.io/crates/threadpool")]
|
||||
#![unstable(feature = "std_misc")]
|
||||
|
||||
#![allow(deprecated)]
|
||||
|
||||
use core::prelude::*;
|
||||
|
||||
use sync::{Arc, Mutex};
|
||||
|
Loading…
Reference in New Issue
Block a user