Skip to content

Commit 1c0bf23

Browse files
committed
clippy
1 parent 626c256 commit 1c0bf23

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sea-orm-migration/src/manager.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ impl<'c> SchemaManager<'c> {
4141
}
4242

4343
/// Schema Creation
44-
impl<'c> SchemaManager<'c> {
44+
impl SchemaManager<'_> {
4545
pub async fn create_table(&self, stmt: TableCreateStatement) -> Result<(), DbErr> {
4646
self.exec_stmt(stmt).await
4747
}
@@ -60,7 +60,7 @@ impl<'c> SchemaManager<'c> {
6060
}
6161

6262
/// Schema Mutation
63-
impl<'c> SchemaManager<'c> {
63+
impl SchemaManager<'_> {
6464
pub async fn alter_table(&self, stmt: TableAlterStatement) -> Result<(), DbErr> {
6565
self.exec_stmt(stmt).await
6666
}
@@ -95,7 +95,7 @@ impl<'c> SchemaManager<'c> {
9595
}
9696

9797
/// Schema Inspection.
98-
impl<'c> SchemaManager<'c> {
98+
impl SchemaManager<'_> {
9999
pub async fn has_table<T>(&self, table: T) -> Result<bool, DbErr>
100100
where
101101
T: AsRef<str>,

0 commit comments

Comments
 (0)