Skip to content

Commit

Permalink
fix fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
al8n committed Feb 16, 2024
1 parent fbb8d01 commit b934328
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions 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.0"
version = "0.7.1"
license = "MIT OR Apache-2.0"
keywords = ["waitgroup", "async", "sync", "notify", "wake"]
categories = ["asynchronous", "concurrency", "data-structures"]
Expand All @@ -20,7 +20,7 @@ parking_lot = ["dep:parking_lot"]

future = ["event-listener", "event-listener-strategy", "pin-project-lite"]

tokio = ["dep:tokio", "futures-core"]
tokio = ["dep:tokio", "futures-core", "pin-project-lite"]

[dependencies]
parking_lot = { version = "0.12", optional = true }
Expand Down
8 changes: 4 additions & 4 deletions src/future.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,11 @@ impl AsyncWaitGroup {
/// new `add` calls must happen after all previous [`wait`] calls have returned.
///
/// # Example
///
///
/// ```rust
/// use wg::future::AsyncWaitGroup;
/// use async_std::task::spawn;
///
///
/// # async_std::task::block_on(async {
/// let wg = AsyncWaitGroup::new();
///
Expand Down Expand Up @@ -181,7 +181,7 @@ impl AsyncWaitGroup {
/// ```rust
/// use wg::future::AsyncWaitGroup;
/// use async_std::task::spawn;
///
///
/// # async_std::task::block_on(async {
/// let wg = AsyncWaitGroup::new();
/// wg.add(1);
Expand Down Expand Up @@ -211,7 +211,7 @@ impl AsyncWaitGroup {
/// ```rust
/// use wg::future::AsyncWaitGroup;
/// use async_std::task::spawn;
///
///
/// # async_std::task::block_on(async {
/// let wg = AsyncWaitGroup::new();
/// wg.add(1);
Expand Down

0 comments on commit b934328

Please sign in to comment.