Skip to content

Commit

Permalink
Fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
al8n committed Feb 16, 2024
1 parent b934328 commit f111bc0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
6 changes: 2 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion src/tokio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<AsyncInner>,
}
Expand Down

0 comments on commit f111bc0

Please sign in to comment.