cargo fmt

This commit is contained in:
Billy Chan 2021-08-12 19:06:04 +08:00 committed by Chris Tsang
parent f5db10d6a6
commit 106d38d20b
2 changed files with 3 additions and 2 deletions

View File

@ -66,7 +66,8 @@ async fn find_all(db: &DbConn) -> Result<(), DbErr> {
async fn find_together(db: &DbConn) -> Result<(), DbErr> {
print!("find cakes and fruits: ");
let both: Vec<(cake::Model, Option<fruit::Model>)> = Cake::find().find_also_related(Fruit).all(db).await?;
let both: Vec<(cake::Model, Option<fruit::Model>)> =
Cake::find().find_also_related(Fruit).all(db).await?;
println!();
for bb in both.iter() {

View File

@ -404,4 +404,4 @@ impl TryGetable for Option<Decimal> {
}
#[cfg(feature = "with-uuid")]
try_getable_all!(uuid::Uuid);
try_getable_all!(uuid::Uuid);