fmt fix
Continuous integration / Check (push) Successful in 28s
Continuous integration / Test Suite (push) Successful in 34s
Continuous integration / Rustfmt (push) Successful in 26s
Continuous integration / Clippy (push) Failing after 28s
Continuous integration / build (push) Successful in 33s
Continuous integration / Check (push) Successful in 28s
Continuous integration / Test Suite (push) Successful in 34s
Continuous integration / Rustfmt (push) Successful in 26s
Continuous integration / Clippy (push) Failing after 28s
Continuous integration / build (push) Successful in 33s
This commit is contained in:
+4
-3
@@ -85,9 +85,10 @@ async fn main() {
|
||||
|
||||
for (&other_client_id, other_client) in clients.iter() {
|
||||
if other_client_id != client_id
|
||||
&& let Some(destination_udp) = other_client.udp_addr {
|
||||
let _ = udp_socket.send_to(&buf[..len], destination_udp).await;
|
||||
}
|
||||
&& let Some(destination_udp) = other_client.udp_addr
|
||||
{
|
||||
let _ = udp_socket.send_to(&buf[..len], destination_udp).await;
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user