mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-15 00:00:15 +02:00
sync: fix broadcast::channel link (#6100)
Co-authored-by: Xianhua Zhou <[email protected]>
This commit is contained in:
co-authored by
Xianhua Zhou
parent
70410836ae
commit
bc48a6fa8d
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user