diff --git a/src/lib.rs b/src/lib.rs index 09d04b2..d4ed7c2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -56,6 +56,7 @@ pub mod task; cfg_if! { if #[cfg(any(feature = "unstable", feature = "docs"))] { + #[cfg_attr(feature = "docs", doc(cfg(unstable)))] pub mod pin; mod vec; mod result;