summaryrefslogtreecommitdiffstats
path: root/tokio/src/sync/mod.rs
diff options
context:
space:
mode:
authorZephyr Shannon <earthlingzephyr@gmail.com>2020-09-11 12:44:33 -0700
committerGitHub <noreply@github.com>2020-09-11 12:44:33 -0700
commitce0af8f7a188c9b8b8b4dcc3847674fd0afbe769 (patch)
tree0a36b9df4df603dd0cd2c1295260b1ef028d7d0d /tokio/src/sync/mod.rs
parentbe7462e50fe21c3eea578e12765f501e1157072b (diff)
docs: more doc fixes (#2831)
Previous docs look like they were based on the docs for `insert_at`. Changed names of variables referred to and the explanation of when the value will be returned and under what condition it will be immediately available to make sense for a Duration argument instead of an Instant.
Diffstat (limited to 'tokio/src/sync/mod.rs')
-rw-r--r--tokio/src/sync/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio/src/sync/mod.rs b/tokio/src/sync/mod.rs
index 5d66512d..d5004137 100644
--- a/tokio/src/sync/mod.rs
+++ b/tokio/src/sync/mod.rs
@@ -406,7 +406,7 @@
//!
//! The remaining synchronization primitives focus on synchronizing state.
//! These are asynchronous equivalents to versions provided by `std`. They
-//! operate in a similar way as their `std` counterparts parts but will wait
+//! operate in a similar way as their `std` counterparts but will wait
//! asynchronously instead of blocking the thread.
//!
//! * [`Barrier`](Barrier) Ensures multiple tasks will wait for each other to