Skip to content

Commit b581e3a

Browse files
committed
Doc rephrase
1 parent 749dc34 commit b581e3a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -861,8 +861,8 @@ impl PostgresConnection {
861861
/// is active until the `PostgresTransaction` object falls out of scope.
862862
///
863863
/// ## Note
864-
/// A transaction will roll back by default. Use the `set_commit` method to
865-
/// set the transaction to commit.
864+
/// A transaction will roll back by default. The `set_commit`,
865+
/// `set_rollback`, and `commit` methods alter this behavior.
866866
///
867867
/// ## Example
868868
///

0 commit comments

Comments
 (0)