From 3fd043931e6d37f211e682980edc6e12e9d4fc54 Mon Sep 17 00:00:00 2001 From: Nylonicious <50183564+nylonicious@users.noreply.github.com> Date: Thu, 17 Sep 2020 08:03:38 +0200 Subject: sync: fix some doc typos (#2838) Fixes #2781. --- tokio/src/sync/broadcast.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tokio/src/sync/broadcast.rs') 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 -- cgit v1.2.3