From 94cd2cbf6bfd2bdeea0b5f2fb4811fe93bf08250 Mon Sep 17 00:00:00 2001 From: Nicholas Bishop Date: Thu, 30 Dec 2021 15:45:23 -0500 Subject: [PATCH] Fix markdown rendering of Connection::transaction doc This fixes `DropBehavior::Commit` being rendered as `DropBehavior: :Commit`. --- src/transaction.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ///