Merge pull request #1067 from nicholasbishop/bishop-fix-transac-doc

Fix markdown rendering of Connection::transaction doc
This commit is contained in:
gwenn 2021-12-31 17:58:13 +01:00 committed by GitHub
commit df27410897
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -378,8 +378,8 @@ impl Connection {
/// ///
/// The transaction defaults to rolling back when it is dropped. If you /// The transaction defaults to rolling back when it is dropped. If you
/// want the transaction to commit, you must call /// want the transaction to commit, you must call
/// [`commit`](Transaction::commit) or [`set_drop_behavior(DropBehavior: /// [`commit`](Transaction::commit) or
/// :Commit)`](Transaction::set_drop_behavior). /// [`set_drop_behavior(DropBehavior::Commit)`](Transaction::set_drop_behavior).
/// ///
/// ## Example /// ## Example
/// ///