From 106d38d20bdfa4a628d59f79c8c048accfa965e4 Mon Sep 17 00:00:00 2001 From: Billy Chan Date: Thu, 12 Aug 2021 19:06:04 +0800 Subject: [PATCH] cargo fmt --- examples/sqlx/src/select.rs | 3 ++- src/executor/query.rs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/sqlx/src/select.rs b/examples/sqlx/src/select.rs index ed24e742..ce26f9e2 100644 --- a/examples/sqlx/src/select.rs +++ b/examples/sqlx/src/select.rs @@ -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)> = Cake::find().find_also_related(Fruit).all(db).await?; + let both: Vec<(cake::Model, Option)> = + Cake::find().find_also_related(Fruit).all(db).await?; println!(); for bb in both.iter() { diff --git a/src/executor/query.rs b/src/executor/query.rs index b1ecd988..b7e1d12e 100644 --- a/src/executor/query.rs +++ b/src/executor/query.rs @@ -404,4 +404,4 @@ impl TryGetable for Option { } #[cfg(feature = "with-uuid")] -try_getable_all!(uuid::Uuid); \ No newline at end of file +try_getable_all!(uuid::Uuid);