Skip to content

Commit f8e4fcb

Browse files
committedFeb 25, 2015
allow(deprecated) for TaskPool (fixup #22783)
1 parent f164254 commit f8e4fcb

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed
 

‎src/libstd/sync/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ pub use self::barrier::{Barrier, BarrierWaitResult};
3131
pub use self::poison::{PoisonError, TryLockError, TryLockResult, LockResult};
3232

3333
pub use self::future::Future;
34+
#[allow(deprecated)]
3435
pub use self::task_pool::TaskPool;
3536

3637
pub mod mpsc;

‎src/libstd/sync/task_pool.rs

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
https://crates.io/crates/threadpool")]
1717
#![unstable(feature = "std_misc")]
1818

19+
#![allow(deprecated)]
20+
1921
use core::prelude::*;
2022

2123
use sync::{Arc, Mutex};

0 commit comments

Comments
 (0)