sync: fix broadcast::channel link (#6100)

Co-authored-by: Xianhua Zhou <[email protected]>
This commit is contained in:
xianhua zhou
2023-10-23 15:40:17 +00:00
committed by GitHub
co-authored by Xianhua Zhou
parent 70410836ae
commit bc48a6fa8d
+1 -1
View File
@@ -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.