Fix cargo clippy issues
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-07-03 08:32:53 +02:00
parent 4d1587dda2
commit 5e84b40d05
4 changed files with 9 additions and 9 deletions

View File

@@ -34,7 +34,7 @@ pub async fn ws(
if let Err(e) = tx.send(BroadcastMessage::StartSyncTaskForUser(
auth.user.user_id.clone(),
)) {
log::error!("Failed to send StartSyncTaskForUser: {}", e);
log::error!("Failed to send StartSyncTaskForUser: {e}");
}
let rx = tx.subscribe();
@@ -96,7 +96,7 @@ pub async fn ws_handler(
// Send the message to the websocket
if let Ok(msg) = serde_json::to_string(&WsMessage::Sync(*event)) {
if let Err(e) = session.text(msg).await {
log::error!("Failed to send SyncEvent: {}", e);
log::error!("Failed to send SyncEvent: {e}");
}
}
}