Fix markdown rendering of Connection::transaction doc

This fixes `DropBehavior::Commit` being rendered as `DropBehavior: :Commit`.
This commit is contained in:
Nicholas Bishop 2021-12-30 15:45:23 -05:00
parent 45fff21c51
commit 94cd2cbf6b

View File

@ -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
///