diff --git a/Cargo.toml b/Cargo.toml index b003252..a486b58 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ homepage = "https://github.com/al8n/wg" repository = "https://github.com/al8n/wg.git" documentation = "https://docs.rs/wg/" readme = "README.md" -version = "0.7.1" +version = "0.7.2" license = "MIT OR Apache-2.0" keywords = ["waitgroup", "async", "sync", "notify", "wake"] categories = ["asynchronous", "concurrency", "data-structures"] diff --git a/src/lib.rs b/src/lib.rs index b7c5e74..8d5dffe 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -22,14 +22,12 @@ #![cfg_attr(docsrs, feature(doc_cfg))] #![cfg_attr(docsrs, allow(unused_attributes))] -/// [`AsyncWaitGroup`] for `futures`. +/// [`AsyncWaitGroup`](crate::future::AsyncWaitGroup) for `futures`. #[cfg(feature = "future")] #[cfg_attr(docsrs, doc(cfg(feature = "future")))] pub mod future; -// #[cfg(feature = "future")] -// pub use future::*; -/// [`AsyncWaitGroup`] for `tokio` runtime. +/// [`AsyncWaitGroup`](crate::tokio::AsyncWaitGroup) for `tokio` runtime. #[cfg(feature = "tokio")] #[cfg_attr(docsrs, doc(cfg(feature = "tokio")))] pub mod tokio; diff --git a/src/tokio.rs b/src/tokio.rs index b48c81a..6cb4d85 100644 --- a/src/tokio.rs +++ b/src/tokio.rs @@ -55,7 +55,6 @@ struct AsyncInner { /// /// [`wait`]: struct.AsyncWaitGroup.html#method.wait /// [`add`]: struct.AsyncWaitGroup.html#method.add -#[cfg_attr(docsrs, doc(cfg(feature = "future")))] pub struct AsyncWaitGroup { inner: Arc, }