Skip to content

Commit

Permalink
doc: fix broadcast::channel link
Browse files Browse the repository at this point in the history
  • Loading branch information
Xianhua Zhou committed Oct 23, 2023
1 parent 7041083 commit 214a15e
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 214a15e

Please sign in to comment.