Skip to content

Commit

Permalink
fix: resolve issues from clippy
Browse files Browse the repository at this point in the history
Signed-off-by: Lucian Buzzo <[email protected]>
  • Loading branch information
LucianBuzzo committed Oct 29, 2023
1 parent b984ae4 commit ce52e1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quaint/src/connector/mssql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ impl TransactionCapable for Mssql {

let mut transaction_depth = self.transaction_depth.lock().await;
*transaction_depth += 1;
let st_depth = *transaction_depth + 0;
let st_depth = *transaction_depth;

let begin_statement = self.begin_statement(st_depth).await;
let commit_stmt = self.commit_statement(st_depth).await;
Expand Down

0 comments on commit ce52e1d

Please sign in to comment.