From ec44a6671629434c053c5e04225e082557b630af Mon Sep 17 00:00:00 2001 From: Billy Chan Date: Fri, 4 Oct 2024 17:15:43 +0800 Subject: [PATCH] fmt --- src/driver/sqlx_mysql.rs | 5 ++++- src/driver/sqlx_postgres.rs | 5 ++++- src/driver/sqlx_sqlite.rs | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/driver/sqlx_mysql.rs b/src/driver/sqlx_mysql.rs index b47a5b6bb..e1c593b0c 100644 --- a/src/driver/sqlx_mysql.rs +++ b/src/driver/sqlx_mysql.rs @@ -38,7 +38,10 @@ impl std::fmt::Debug for SqlxMySqlPoolConnection { impl From for SqlxMySqlPoolConnection { fn from(pool: MySqlPool) -> Self { - SqlxMySqlPoolConnection { pool, metric_callback: None } + SqlxMySqlPoolConnection { + pool, + metric_callback: None, + } } } diff --git a/src/driver/sqlx_postgres.rs b/src/driver/sqlx_postgres.rs index 9381180dc..ceb855f24 100644 --- a/src/driver/sqlx_postgres.rs +++ b/src/driver/sqlx_postgres.rs @@ -38,7 +38,10 @@ impl std::fmt::Debug for SqlxPostgresPoolConnection { impl From for SqlxPostgresPoolConnection { fn from(pool: PgPool) -> Self { - SqlxPostgresPoolConnection { pool, metric_callback: None } + SqlxPostgresPoolConnection { + pool, + metric_callback: None, + } } } diff --git a/src/driver/sqlx_sqlite.rs b/src/driver/sqlx_sqlite.rs index 1da9545c4..4d343027f 100644 --- a/src/driver/sqlx_sqlite.rs +++ b/src/driver/sqlx_sqlite.rs @@ -39,7 +39,10 @@ impl std::fmt::Debug for SqlxSqlitePoolConnection { impl From for SqlxSqlitePoolConnection { fn from(pool: SqlitePool) -> Self { - SqlxSqlitePoolConnection { pool, metric_callback: None } + SqlxSqlitePoolConnection { + pool, + metric_callback: None, + } } }