fix: clippy

This commit is contained in:
2026-09-05 16:44:23 +02:00
parent 89c127b10e
commit 24acdbe315
2 changed files with 2 additions and 3 deletions

View File

@@ -137,10 +137,9 @@ impl Client {
Ok(msg) => { Ok(msg) => {
if let Err(e) = self.conn_sender_outgoing.send(msg).await { if let Err(e) = self.conn_sender_outgoing.send(msg).await {
error!("Error while sending a message to connection thread: {}", e); error!("Error while sending a message to connection thread: {}", e);
return;
} }
} }
}; }
} }
pub async fn send_capture(&mut self, capture_path: CapturePath) { pub async fn send_capture(&mut self, capture_path: CapturePath) {

View File

@@ -224,7 +224,7 @@ impl GameClient {
menu_builder.label(ui, "Game ended!"); menu_builder.label(ui, "Game ended!");
if let Some(result) = &self.game_result { if let Some(result) = &self.game_result {
menu_builder.label(ui, &result); menu_builder.label(ui, result);
} else { } else {
menu_builder.label(ui, "Could not get result"); menu_builder.label(ui, "Could not get result");
} }