diff options
author | Zephyr Shannon <earthlingzephyr@gmail.com> | 2020-09-11 12:44:33 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-11 12:44:33 -0700 |
commit | ce0af8f7a188c9b8b8b4dcc3847674fd0afbe769 (patch) | |
tree | 0a36b9df4df603dd0cd2c1295260b1ef028d7d0d /tokio/src/sync/mod.rs | |
parent | be7462e50fe21c3eea578e12765f501e1157072b (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.rs | 2 |
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 |