Skip to content

Commit

Permalink
remove defunct code comment
Browse files Browse the repository at this point in the history
  • Loading branch information
LucianBuzzo committed Jan 9, 2025
1 parent ef7792a commit e43faa5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion quaint/src/connector/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ impl Transaction for DefaultTransaction<'_> {

/// Commit the changes to the database and consume the transaction.
async fn commit(&self) -> crate::Result<()> {
// Perform the asynchronous operation without holding the lock
self.inner.raw_cmd("COMMIT").await?;

self.depth.fetch_sub(1, Ordering::Relaxed);
Expand Down

0 comments on commit e43faa5

Please sign in to comment.