diff --git a/src/transaction.rs b/src/transaction.rs index a1b287d..86dea1f 100644 --- a/src/transaction.rs +++ b/src/transaction.rs @@ -378,8 +378,8 @@ impl Connection { /// /// The transaction defaults to rolling back when it is dropped. If you /// want the transaction to commit, you must call - /// [`commit`](Transaction::commit) or [`set_drop_behavior(DropBehavior: - /// :Commit)`](Transaction::set_drop_behavior). + /// [`commit`](Transaction::commit) or + /// [`set_drop_behavior(DropBehavior::Commit)`](Transaction::set_drop_behavior). /// /// ## Example ///