diff options
author | Nylonicious <50183564+nylonicious@users.noreply.github.com> | 2020-09-17 08:03:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-17 08:03:38 +0200 |
commit | 3fd043931e6d37f211e682980edc6e12e9d4fc54 (patch) | |
tree | a17cbc12b4e8387227ce56c66323ae8a840421a6 /tokio/src/sync/broadcast.rs | |
parent | 4c4699be00bf4aee6218f84ec606e043286a8c2a (diff) |
sync: fix some doc typos (#2838)
Fixes #2781.
Diffstat (limited to 'tokio/src/sync/broadcast.rs')
-rw-r--r-- | tokio/src/sync/broadcast.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio/src/sync/broadcast.rs b/tokio/src/sync/broadcast.rs index 9b3de530..9484e130 100644 --- a/tokio/src/sync/broadcast.rs +++ b/tokio/src/sync/broadcast.rs @@ -793,7 +793,7 @@ where /// This is useful for a flavor of "optimistic check" before deciding to /// await on a receiver. /// - /// Compared with [`recv`], this function has three failure cases instead of one + /// Compared with [`recv`], this function has three failure cases instead of two /// (one for closed, one for an empty buffer, one for a lagging receiver). /// /// `Err(TryRecvError::Closed)` is returned when all `Sender` halves have |