Skip to content

Commit f111bc0

Browse files
committed
Fix doc
1 parent b934328 commit f111bc0

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

Diff for: Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ homepage = "https://github.com/al8n/wg"
66
repository = "https://github.com/al8n/wg.git"
77
documentation = "https://docs.rs/wg/"
88
readme = "README.md"
9-
version = "0.7.1"
9+
version = "0.7.2"
1010
license = "MIT OR Apache-2.0"
1111
keywords = ["waitgroup", "async", "sync", "notify", "wake"]
1212
categories = ["asynchronous", "concurrency", "data-structures"]

Diff for: src/lib.rs

+2-4
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,12 @@
2222
#![cfg_attr(docsrs, feature(doc_cfg))]
2323
#![cfg_attr(docsrs, allow(unused_attributes))]
2424

25-
/// [`AsyncWaitGroup`] for `futures`.
25+
/// [`AsyncWaitGroup`](crate::future::AsyncWaitGroup) for `futures`.
2626
#[cfg(feature = "future")]
2727
#[cfg_attr(docsrs, doc(cfg(feature = "future")))]
2828
pub mod future;
29-
// #[cfg(feature = "future")]
30-
// pub use future::*;
3129

32-
/// [`AsyncWaitGroup`] for `tokio` runtime.
30+
/// [`AsyncWaitGroup`](crate::tokio::AsyncWaitGroup) for `tokio` runtime.
3331
#[cfg(feature = "tokio")]
3432
#[cfg_attr(docsrs, doc(cfg(feature = "tokio")))]
3533
pub mod tokio;

Diff for: src/tokio.rs

-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ struct AsyncInner {
5555
///
5656
/// [`wait`]: struct.AsyncWaitGroup.html#method.wait
5757
/// [`add`]: struct.AsyncWaitGroup.html#method.add
58-
#[cfg_attr(docsrs, doc(cfg(feature = "future")))]
5958
pub struct AsyncWaitGroup {
6059
inner: Arc<AsyncInner>,
6160
}

0 commit comments

Comments
 (0)