Skip to content

Commit

Permalink
Merge pull request #443 from johanhelsing/fix-warning
Browse files Browse the repository at this point in the history
Fix new warnings in rust 1.77
  • Loading branch information
johanhelsing authored Mar 31, 2024
2 parents d7b6ab0 + 651d54a commit ff4e0ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bevy_matchbox/src/socket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ use std::{
/// }
/// ```
#[derive(Resource, Component, Debug)]
#[allow(dead_code)] // keep the task alive so it doesn't drop before the socket
pub struct MatchboxSocket<C: BuildablePlurality>(WebRtcSocket<C>, Box<dyn Debug + Send + Sync>);

impl<C: BuildablePlurality> Deref for MatchboxSocket<C> {
Expand Down

0 comments on commit ff4e0ea

Please sign in to comment.