Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
billy1624 committed Jan 10, 2025
1 parent 626c256 commit 1c0bf23
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sea-orm-migration/src/manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ impl<'c> SchemaManager<'c> {
}

/// Schema Creation
impl<'c> SchemaManager<'c> {
impl SchemaManager<'_> {
pub async fn create_table(&self, stmt: TableCreateStatement) -> Result<(), DbErr> {
self.exec_stmt(stmt).await
}
Expand All @@ -60,7 +60,7 @@ impl<'c> SchemaManager<'c> {
}

/// Schema Mutation
impl<'c> SchemaManager<'c> {
impl SchemaManager<'_> {
pub async fn alter_table(&self, stmt: TableAlterStatement) -> Result<(), DbErr> {
self.exec_stmt(stmt).await
}
Expand Down Expand Up @@ -95,7 +95,7 @@ impl<'c> SchemaManager<'c> {
}

/// Schema Inspection.
impl<'c> SchemaManager<'c> {
impl SchemaManager<'_> {
pub async fn has_table<T>(&self, table: T) -> Result<bool, DbErr>
where
T: AsRef<str>,
Expand Down

0 comments on commit 1c0bf23

Please sign in to comment.