From a24b51e1081ac794aa14656895b8512cf6a1e722 Mon Sep 17 00:00:00 2001 From: Johan Klokkhammer Helsing Date: Sun, 31 Mar 2024 12:47:41 +0200 Subject: [PATCH] chore: Fix new dead_code warning in signaling module --- bevy_matchbox/src/signaling.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/bevy_matchbox/src/signaling.rs b/bevy_matchbox/src/signaling.rs index ea02a61c..a585391e 100644 --- a/bevy_matchbox/src/signaling.rs +++ b/bevy_matchbox/src/signaling.rs @@ -64,6 +64,7 @@ use std::net::SocketAddr; /// } /// ``` #[derive(Debug, Resource)] +#[allow(dead_code)] // we take ownership of the task to not drop it pub struct MatchboxServer(Task>); impl From> for MatchboxServer