cargo fmt

This commit is contained in:
Billy Chan 2022-07-26 14:50:39 +08:00
parent b6739915b7
commit 70f1b4cbe0
No known key found for this signature in database
GPG Key ID: A2D690CAC7DF3CC7

View File

@ -20,12 +20,8 @@ where
run_migrate(migrator, db, cli.command, cli.verbose).await; run_migrate(migrator, db, cli.command, cli.verbose).await;
} }
pub async fn run_migrate<M>( pub async fn run_migrate<M>(_: M, db: &DbConn, command: Option<MigrateSubcommands>, verbose: bool)
_: M, where
db: &DbConn,
command: Option<MigrateSubcommands>,
verbose: bool,
) where
M: MigratorTrait, M: MigratorTrait,
{ {
let filter = match verbose { let filter = match verbose {