mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-28 00:00:11 +02:00
co-authored by
Alice Ryhl
parent
67b171ac77
commit
970d4b754d
@@ -345,7 +345,7 @@ use std::sync::Arc;
|
||||
/// [`Semaphore::add_permits`] with a single permit to increment the countdown
|
||||
/// latch as they complete. For example:
|
||||
///
|
||||
/// ```rust
|
||||
/// ```
|
||||
/// use tokio::sync::Semaphore;
|
||||
/// use std::{future::Future, sync::Arc};
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user