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