We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
cargo fmt
1 parent ee65811 commit ef95f34Copy full SHA for ef95f34
1 file changed
postgres/src/client.rs
@@ -419,7 +419,9 @@ impl Client {
419
let inner_client = &self.client;
420
self.connection.block_on(async {
421
let trivial_query = inner_client.simple_query("");
422
- tokio::time::timeout(timeout, trivial_query).await?.map(|_| ())
+ tokio::time::timeout(timeout, trivial_query)
423
+ .await?
424
+ .map(|_| ())
425
})
426
}
427
0 commit comments