Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
billy1624 committed Dec 2, 2024
1 parent 9d0f7e3 commit b83a072
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sea-orm-migration/src/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pub enum SchemaManagerConnection<'c> {
}

#[async_trait::async_trait]
impl<'c> ConnectionTrait for SchemaManagerConnection<'c> {
impl ConnectionTrait for SchemaManagerConnection<'_> {
fn get_database_backend(&self) -> DbBackend {
match self {
SchemaManagerConnection::Connection(conn) => conn.get_database_backend(),
Expand Down Expand Up @@ -56,7 +56,7 @@ impl<'c> ConnectionTrait for SchemaManagerConnection<'c> {
}

#[async_trait::async_trait]
impl<'c> TransactionTrait for SchemaManagerConnection<'c> {
impl TransactionTrait for SchemaManagerConnection<'_> {
async fn begin(&self) -> Result<DatabaseTransaction, DbErr> {
match self {
SchemaManagerConnection::Connection(conn) => conn.begin().await,
Expand Down

0 comments on commit b83a072

Please sign in to comment.