Skip to content

Commit ef95f34

Browse files
author
zach-com
committed
cargo fmt
1 parent ee65811 commit ef95f34

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

postgres/src/client.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,9 @@ impl Client {
419419
let inner_client = &self.client;
420420
self.connection.block_on(async {
421421
let trivial_query = inner_client.simple_query("");
422-
tokio::time::timeout(timeout, trivial_query).await?.map(|_| ())
422+
tokio::time::timeout(timeout, trivial_query)
423+
.await?
424+
.map(|_| ())
423425
})
424426
}
425427

0 commit comments

Comments
 (0)