From 3c6d88397ece7b966fe1145e91ebe1153687001a Mon Sep 17 00:00:00 2001 From: Andy Duplain Date: Tue, 19 May 2026 15:51:34 +0100 Subject: [PATCH] Formatting. --- nym-sqlx-pool-guard/src/lib.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/nym-sqlx-pool-guard/src/lib.rs b/nym-sqlx-pool-guard/src/lib.rs index 3e0a64e6ee..a66a0b9167 100644 --- a/nym-sqlx-pool-guard/src/lib.rs +++ b/nym-sqlx-pool-guard/src/lib.rs @@ -77,7 +77,10 @@ impl SqlitePoolGuard { pub async fn close(&self) { // Avoid waiting for db files once the pool is marked closed to ensure that we don't wait on some other sqlite pool to close the database. if !self.inner.connection_pool.is_closed() { - tracing::info!("Closing sqlite pool: {}", self.inner.database_path.display()); + tracing::info!( + "Closing sqlite pool: {}", + self.inner.database_path.display() + ); self.close_pool_inner().await.ok(); } } @@ -142,7 +145,8 @@ impl Drop for SqlitePoolGuard { fn drop(&mut self) { if Arc::strong_count(&self.inner) == 1 && !self.inner.connection_pool.is_closed() { tracing::warn!( - "SqlitePoolGuard dropped without explicit close(); path={}", self.inner.database_path.display() + "SqlitePoolGuard dropped without explicit close(); path={}", + self.inner.database_path.display() ); } }