Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf46e0e0

Browse files
doc: improvecheck_connection doc comment
Co-authored-by: Tristan Partin <tristan@partin.io>
1 parent65920b8 commitf46e0e0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎postgres/src/client.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ impl Client {
487487
self.connection.block_on(self.client.batch_execute(query))
488488
}
489489

490-
/// Check the connection is alive and wait for the confirmation.
490+
/// Checkthatthe connection is alive and wait for the confirmation.
491491
pubfncheck_connection(&mutself) ->Result<(),Error>{
492492
self.connection.block_on(self.client.check_connection())
493493
}

‎tokio-postgres/src/client.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ impl Client {
533533
simple_query::batch_execute(self.inner(), query).await
534534
}
535535

536-
/// Check the connection is alive and wait for the confirmation.
536+
/// Checkthatthe connection is alive and wait for the confirmation.
537537
pubasyncfncheck_connection(&self) ->Result<(),Error>{
538538
// sync is a very quick message to test the connection health.
539539
query::sync(self.inner()).await

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp