mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-28 12:10:37 +00:00
sync: fix broadcast::channel
link (#6100)
Co-authored-by: Xianhua Zhou <xianhua.zhou@mdpi.com>
This commit is contained in:
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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user