Skip to content

Commit

Permalink
chore: Fix new dead_code warning in signaling module
Browse files Browse the repository at this point in the history
  • Loading branch information
johanhelsing committed Mar 31, 2024
1 parent fc7ab02 commit a24b51e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bevy_matchbox/src/signaling.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Result<(), Error>>);

impl<Topology, Cb, S> From<SignalingServerBuilder<Topology, Cb, S>> for MatchboxServer
Expand Down

0 comments on commit a24b51e

Please sign in to comment.