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);