From 70f1b4cbe066a1c6544bd095595532ac17cfa24a Mon Sep 17 00:00:00 2001 From: Billy Chan Date: Tue, 26 Jul 2022 14:50:39 +0800 Subject: [PATCH] cargo fmt --- sea-orm-migration/src/cli.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/sea-orm-migration/src/cli.rs b/sea-orm-migration/src/cli.rs index 435a53a6..90031deb 100644 --- a/sea-orm-migration/src/cli.rs +++ b/sea-orm-migration/src/cli.rs @@ -20,12 +20,8 @@ where run_migrate(migrator, db, cli.command, cli.verbose).await; } -pub async fn run_migrate( - _: M, - db: &DbConn, - command: Option, - verbose: bool, -) where +pub async fn run_migrate(_: M, db: &DbConn, command: Option, verbose: bool) +where M: MigratorTrait, { let filter = match verbose {