Skip to content

Commit bc48a6f

Browse files
xianhuazhouXianhua Zhou
andauthored
sync: fix broadcast::channel link (#6100)
Co-authored-by: Xianhua Zhou <[email protected]>
1 parent 7041083 commit bc48a6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tokio/src/sync/broadcast.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ impl<T> Sender<T> {
479479
/// See the documentation of [`broadcast::channel`] for more information on this method.
480480
///
481481
/// [`broadcast`]: crate::sync::broadcast
482-
/// [`broadcast::channel`]: crate::sync::broadcast
482+
/// [`broadcast::channel`]: crate::sync::broadcast::channel
483483
#[track_caller]
484484
pub fn new(capacity: usize) -> Self {
485485
// SAFETY: We don't create extra receivers, so there are 0.

0 commit comments

Comments
 (0)