From b83a07212390b161fe81eb41b93abf4966265b70 Mon Sep 17 00:00:00 2001 From: Billy Chan Date: Mon, 2 Dec 2024 14:01:13 +0800 Subject: [PATCH] clippy --- sea-orm-migration/src/connection.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sea-orm-migration/src/connection.rs b/sea-orm-migration/src/connection.rs index 116185e45..2c3b9919d 100644 --- a/sea-orm-migration/src/connection.rs +++ b/sea-orm-migration/src/connection.rs @@ -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(), @@ -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 { match self { SchemaManagerConnection::Connection(conn) => conn.begin().await,