diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/broadcast.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/broadcast.rs b/src/broadcast.rs index 41a5e23..6e1f04d 100644 --- a/src/broadcast.rs +++ b/src/broadcast.rs @@ -30,8 +30,6 @@ impl<M> Broadcaster<M> where M: Clone + Send + std::fmt::Debug + 'static, { - // panic: if ``message.channel.id`` has not been previously registered, - // and was not part of the initial set of channels. pub fn broadcast(&self, message: impl Into<M>) { let tx = self.sender(); @@ -45,8 +43,6 @@ where let _ = tx.send(message.into()); } - // panic: if ``channel`` has not been previously registered, and was not - // part of the initial set of channels. pub fn subscribe(&self) -> impl Stream<Item = M> + std::fmt::Debug + use<M> { let rx = self.sender().subscribe(); |
