doc feature flags in futures

This commit is contained in:
Rob Ede 2020-04-04 02:25:40 +01:00
parent 5198f8e3e4
commit 070e8e70e4
No known key found for this signature in database
GPG key ID: C2A3B36E841A91E6
4 changed files with 5 additions and 0 deletions

View file

@ -3,6 +3,7 @@ use crate::Executor;
use futures::Future;
/// A thread pool runtime for futures.
#[cfg_attr(docsrs, doc(cfg(feature = "thread-pool")))]
pub type ThreadPool = futures::executor::ThreadPool;
impl Executor for futures::executor::ThreadPool {