Skip to content

Commit b83a072

Browse files
committed
clippy
1 parent 9d0f7e3 commit b83a072

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sea-orm-migration/src/connection.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pub enum SchemaManagerConnection<'c> {
1111
}
1212

1313
#[async_trait::async_trait]
14-
impl<'c> ConnectionTrait for SchemaManagerConnection<'c> {
14+
impl ConnectionTrait for SchemaManagerConnection<'_> {
1515
fn get_database_backend(&self) -> DbBackend {
1616
match self {
1717
SchemaManagerConnection::Connection(conn) => conn.get_database_backend(),
@@ -56,7 +56,7 @@ impl<'c> ConnectionTrait for SchemaManagerConnection<'c> {
5656
}
5757

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

0 commit comments

Comments
 (0)