Update semaphore.rs

Co-authored-by: Alice Ryhl <[email protected]>
This commit is contained in:
Eliza Weisman
2023-11-05 08:51:32 -08:00
committed by GitHub
co-authored by Alice Ryhl
parent 67b171ac77
commit 970d4b754d
+1 -1
View File
@@ -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};
///