Skip to content

Commit 8e767c0

Browse files
committed
rch::broadcast: make Sender::new public
1 parent e092fc4 commit 8e767c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

remoc/src/rch/broadcast/sender.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ where
142142
T: RemoteSend + Clone,
143143
Codec: codec::Codec,
144144
{
145-
/// Creates a new sender.
146-
pub(crate) fn new() -> Self {
145+
/// Creates the sending-half of the broadcast channel.
146+
pub fn new() -> Self {
147147
let (ready_tx, ready_rx) = tokio::sync::mpsc::unbounded_channel();
148148
let inner = SenderInner { subs: Vec::new(), ready_tx, ready_rx, not_ready: 0 };
149149
Self { inner: Arc::new(Mutex::new(inner)) }

0 commit comments

Comments
 (0)