From 0d382faa4e557d0f6e281485cfb14a4934461c41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Marcos?= Date: Mon, 3 Jul 2023 05:27:46 -0300 Subject: [PATCH] sync: mention lagging in docs for `broadcast::send` (#5820) --- tokio/src/sync/broadcast.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tokio/src/sync/broadcast.rs b/tokio/src/sync/broadcast.rs index 4b36452cec3..3f8e6c720d6 100644 --- a/tokio/src/sync/broadcast.rs +++ b/tokio/src/sync/broadcast.rs @@ -501,7 +501,8 @@ impl Sender { /// /// On success, the number of subscribed [`Receiver`] handles is returned. /// This does not mean that this number of receivers will see the message as - /// a receiver may drop before receiving the message. + /// a receiver may drop or lag ([see lagging](self#lagging)) before receiving + /// the message. /// /// # Note ///