From bc48a6fa8d29f25641ecaaf50070cebcc43b74bc Mon Sep 17 00:00:00 2001 From: xianhua zhou Date: Mon, 23 Oct 2023 23:40:17 +0800 Subject: [PATCH] sync: fix `broadcast::channel` link (#6100) Co-authored-by: Xianhua Zhou --- tokio/src/sync/broadcast.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio/src/sync/broadcast.rs b/tokio/src/sync/broadcast.rs index 32a9f89386b..6de579a15e9 100644 --- a/tokio/src/sync/broadcast.rs +++ b/tokio/src/sync/broadcast.rs @@ -479,7 +479,7 @@ impl Sender { /// See the documentation of [`broadcast::channel`] for more information on this method. /// /// [`broadcast`]: crate::sync::broadcast - /// [`broadcast::channel`]: crate::sync::broadcast + /// [`broadcast::channel`]: crate::sync::broadcast::channel #[track_caller] pub fn new(capacity: usize) -> Self { // SAFETY: We don't create extra receivers, so there are 0.