Skip to content

Commit

Permalink
sync: fix broadcast::channel link (#6100)
Browse files Browse the repository at this point in the history
Co-authored-by: Xianhua Zhou <[email protected]>
  • Loading branch information
xianhuazhou and Xianhua Zhou authored Oct 23, 2023
1 parent 7041083 commit bc48a6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokio/src/sync/broadcast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ impl<T> Sender<T> {
/// 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.
Expand Down

0 comments on commit bc48a6f

Please sign in to comment.