diff --git a/bevy_matchbox/src/signaling.rs b/bevy_matchbox/src/signaling.rs index d165221e..f1ab5796 100644 --- a/bevy_matchbox/src/signaling.rs +++ b/bevy_matchbox/src/signaling.rs @@ -114,7 +114,7 @@ pub trait StartServerExt< fn start_server(&mut self, builder: SignalingServerBuilder); } -impl<'w, 's, Topology, Cb, S> StartServerExt for Commands<'w, 's> +impl StartServerExt for Commands<'_, '_> where Topology: SignalingTopology + Send + 'static, Cb: SignalingCallbacks, @@ -139,7 +139,7 @@ pub trait StopServerExt { fn stop_server(&mut self); } -impl<'w, 's> StopServerExt for Commands<'w, 's> { +impl StopServerExt for Commands<'_, '_> { fn stop_server(&mut self) { self.add(StopServer) } diff --git a/bevy_matchbox/src/socket.rs b/bevy_matchbox/src/socket.rs index 1a6cb8ef..d285f56f 100644 --- a/bevy_matchbox/src/socket.rs +++ b/bevy_matchbox/src/socket.rs @@ -116,7 +116,7 @@ pub trait OpenSocketExt { fn open_socket(&mut self, socket_builder: WebRtcSocketBuilder); } -impl<'w, 's, C: BuildablePlurality + 'static> OpenSocketExt for Commands<'w, 's> { +impl OpenSocketExt for Commands<'_, '_> { fn open_socket(&mut self, socket_builder: WebRtcSocketBuilder) { self.add(OpenSocket(socket_builder)) } @@ -138,7 +138,7 @@ pub trait CloseSocketExt { fn close_socket(&mut self); } -impl<'w, 's> CloseSocketExt for Commands<'w, 's> { +impl CloseSocketExt for Commands<'_, '_> { fn close_socket(&mut self) { self.add(CloseSocket::(PhantomData)) }