From 022ae4ecf5f05b72280b1d702cb92d6795485639 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Mon, 23 Jun 2025 19:44:00 -0400 Subject: Remove misleading and long-since stale "panic" notes. These were invalidated by eff129bc1f29bcb1b2b9d10c6b49ab886edc83d6, back in September. --- src/broadcast.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src') 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 Broadcaster 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) { 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 + std::fmt::Debug + use { let rx = self.sender().subscribe(); -- cgit v1.2.3