Skip to content

Commit d709692

Browse files
committed
Clarify docs a bit
1 parent 5cce517 commit d709692

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -966,10 +966,10 @@ impl Connection {
966966

967967
/// Creates cached prepared statement.
968968
///
969-
/// Like `prepare`, except that the statement is only prepared once and
970-
/// then cached. If the same statement is going to be used frequently,
971-
/// caching it can improve performance by reducing the number of round
972-
/// trips to the Postgres backend.
969+
/// Like `prepare`, except that the statement is only prepared once over
970+
/// the lifetime of the connection and then cached. If the same statement
971+
/// is going to be used frequently, caching it can improve performance by
972+
/// reducing the number of round trips to the Postgres backend.
973973
///
974974
/// ## Example
975975
///

0 commit comments

Comments
 (0)