Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
billy1624 committed Oct 4, 2024
1 parent 0496058 commit ec44a66
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 4 additions & 1 deletion src/driver/sqlx_mysql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ impl std::fmt::Debug for SqlxMySqlPoolConnection {

impl From<MySqlPool> for SqlxMySqlPoolConnection {
fn from(pool: MySqlPool) -> Self {
SqlxMySqlPoolConnection { pool, metric_callback: None }
SqlxMySqlPoolConnection {
pool,
metric_callback: None,
}
}
}

Expand Down
5 changes: 4 additions & 1 deletion src/driver/sqlx_postgres.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ impl std::fmt::Debug for SqlxPostgresPoolConnection {

impl From<PgPool> for SqlxPostgresPoolConnection {
fn from(pool: PgPool) -> Self {
SqlxPostgresPoolConnection { pool, metric_callback: None }
SqlxPostgresPoolConnection {
pool,
metric_callback: None,
}
}
}

Expand Down
5 changes: 4 additions & 1 deletion src/driver/sqlx_sqlite.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ impl std::fmt::Debug for SqlxSqlitePoolConnection {

impl From<SqlitePool> for SqlxSqlitePoolConnection {
fn from(pool: SqlitePool) -> Self {
SqlxSqlitePoolConnection { pool, metric_callback: None }
SqlxSqlitePoolConnection {
pool,
metric_callback: None,
}
}
}

Expand Down

0 comments on commit ec44a66

Please sign in to comment.