From 2b09ca9a7593f81177960a7027ff2f5fc1ef50ad Mon Sep 17 00:00:00 2001 From: Andrew Whitehead Date: Mon, 9 May 2022 09:08:42 -0700 Subject: [PATCH] fix unused variable warning Signed-off-by: Andrew Whitehead --- sqlx-core/src/mssql/transaction.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlx-core/src/mssql/transaction.rs b/sqlx-core/src/mssql/transaction.rs index 953d73b6b0..2f557c94e7 100644 --- a/sqlx-core/src/mssql/transaction.rs +++ b/sqlx-core/src/mssql/transaction.rs @@ -16,7 +16,7 @@ impl TransactionManager for MssqlTransactionManager { type Database = Mssql; type Options = (); - fn begin_with(conn: &mut MssqlConnection, options: ()) -> BoxFuture<'_, Result<(), Error>> { + fn begin_with(conn: &mut MssqlConnection, _options: ()) -> BoxFuture<'_, Result<(), Error>> { Box::pin(async move { let depth = conn.stream.transaction_depth;