Update semaphore.rs

Co-authored-by: Alice Ryhl <[email protected]>
This commit is contained in:
Eliza Weisman
2023-11-05 08:52:22 -08:00
committed by GitHub
co-authored by Alice Ryhl
parent 970d4b754d
commit 17984a5e1a
+2 -1
View File
@@ -347,7 +347,8 @@ use std::sync::Arc;
///
/// ```
/// use tokio::sync::Semaphore;
/// use std::{future::Future, sync::Arc};
/// use std::future::Future;
/// use std::sync::Arc;
///
/// /// A token that holds a countdown latch open until it is dropped.
/// #[derive(Clone)]