Enable doc_auto_cfg when generating documentation
This commit is contained in:
parent
3220d472ac
commit
cf434236e7
12 changed files with 7 additions and 19 deletions
|
|
@ -2,7 +2,6 @@
|
|||
use futures::Future;
|
||||
|
||||
/// A thread pool executor for futures.
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "thread-pool")))]
|
||||
pub type Executor = futures::executor::ThreadPool;
|
||||
|
||||
impl crate::Executor for Executor {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue