diff options
Diffstat (limited to 'crates/whirl_server/src/interaction/shared.rs')
| -rw-r--r-- | crates/whirl_server/src/interaction/shared.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/whirl_server/src/interaction/shared.rs b/crates/whirl_server/src/interaction/shared.rs index fc8674e..4e1d158 100644 --- a/crates/whirl_server/src/interaction/shared.rs +++ b/crates/whirl_server/src/interaction/shared.rs @@ -9,6 +9,7 @@ pub struct Shared { impl Shared { pub fn new() -> Self { Self { peers: HashMap::new() } } + #[allow(clippy::unused_async)] pub async fn broadcast(&mut self, message: &[u8]) { for peer in &mut self.peers { peer.1.send(BytesMut::from(message)).unwrap(); |