summaryrefslogtreecommitdiffstats
path: root/tokio/src/sync/semaphore.rs
diff options
context:
space:
mode:
authorNylonicious <50183564+nylonicious@users.noreply.github.com>2020-09-17 08:03:38 +0200
committerGitHub <noreply@github.com>2020-09-17 08:03:38 +0200
commit3fd043931e6d37f211e682980edc6e12e9d4fc54 (patch)
treea17cbc12b4e8387227ce56c66323ae8a840421a6 /tokio/src/sync/semaphore.rs
parent4c4699be00bf4aee6218f84ec606e043286a8c2a (diff)
sync: fix some doc typos (#2838)
Fixes #2781.
Diffstat (limited to 'tokio/src/sync/semaphore.rs')
-rw-r--r--tokio/src/sync/semaphore.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio/src/sync/semaphore.rs b/tokio/src/sync/semaphore.rs
index 136f14e6..4f8b0026 100644
--- a/tokio/src/sync/semaphore.rs
+++ b/tokio/src/sync/semaphore.rs
@@ -1,7 +1,7 @@
use super::batch_semaphore as ll; // low level implementation
use std::sync::Arc;
-/// Counting semaphore performing asynchronous permit aquisition.
+/// Counting semaphore performing asynchronous permit acquisition.
///
/// A semaphore maintains a set of permits. Permits are used to synchronize
/// access to a shared resource. A semaphore differs from a mutex in that it