Skip to content

Commit

Permalink
Refactor: Remove verbose SqliteConnection typing
Browse files Browse the repository at this point in the history
  • Loading branch information
mpyw committed Aug 12, 2024
1 parent 9409e5e commit 10d0aea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sqlx-sqlite/src/transaction.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use futures_core::future::BoxFuture;
use sqlx_core::database::Database;
use sqlx_core::error::Error;
use sqlx_core::transaction::TransactionManager;

Expand Down Expand Up @@ -27,7 +26,7 @@ impl TransactionManager for SqliteTransactionManager {
conn.worker.start_rollback().ok();
}

fn get_transaction_depth(_conn: &<Self::Database as Database>::Connection) -> usize {
fn get_transaction_depth(_conn: &SqliteConnection) -> usize {
todo!()
}
}

0 comments on commit 10d0aea

Please sign in to comment.