cargo clippy + fmt

This commit is contained in:
2024-08-07 16:55:51 +02:00
parent d1c42dac8b
commit d0b750cd33
3 changed files with 17 additions and 13 deletions

View File

@@ -142,7 +142,11 @@ pub fn validate_ownership_by_user_prefix<'a>(
}
pub async fn close_database_connection(conn: MySqlConnection) {
if let Err(e) = conn.close().await.context("Failed to close connection properly") {
if let Err(e) = conn
.close()
.await
.context("Failed to close connection properly")
{
eprintln!("{}", e);
eprintln!("Ignoring...");
}