From 67b171ac77dc80e015114b32ccca9277bbc5f3fb Mon Sep 17 00:00:00 2001 From: Eliza Weisman Date: Sun, 5 Nov 2023 08:51:22 -0800 Subject: [PATCH] Update semaphore.rs Co-authored-by: Alice Ryhl --- tokio/src/sync/semaphore.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio/src/sync/semaphore.rs b/tokio/src/sync/semaphore.rs index ef21920f0..950f4c920 100644 --- a/tokio/src/sync/semaphore.rs +++ b/tokio/src/sync/semaphore.rs @@ -340,7 +340,7 @@ use std::sync::Arc; /// completed before continuing. /// /// The task awaiting the countdown should call [`Semaphore::acquire_many`] to -/// acquire the a number of permits equal to the number of tasks which hold the +/// acquire a number of permits equal to the number of tasks which hold the /// latch open. The tasks whose completion is awaited by the latch should call /// [`Semaphore::add_permits`] with a single permit to increment the countdown /// latch as they complete. For example: