Skip to content

Commit 675be0f

Browse files
alyssaisnotgull
authored andcommitted
Show static feature requirement on docs.rs
1 parent 0fc974e commit 675be0f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ mod static_executors;
5858
#[doc(no_inline)]
5959
pub use async_task::{FallibleTask, Task};
6060
#[cfg(feature = "static")]
61+
#[cfg_attr(docsrs, doc(cfg(any(feature = "static"))))]
6162
pub use static_executors::*;
6263

6364
/// An async executor.

0 commit comments

Comments
 (0)