From 921bb616b420474fd94a707545356f1c3bb519f3 Mon Sep 17 00:00:00 2001 From: Greg Johnston Date: Sun, 25 Jun 2023 13:31:48 -0400 Subject: [PATCH] fmt --- examples/todo_app_sqlite/src/todo.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/examples/todo_app_sqlite/src/todo.rs b/examples/todo_app_sqlite/src/todo.rs index 773a7db12..f8ebe7d8f 100644 --- a/examples/todo_app_sqlite/src/todo.rs +++ b/examples/todo_app_sqlite/src/todo.rs @@ -43,10 +43,7 @@ pub async fn get_todos(cx: Scope) -> Result, ServerFnError> { let mut todos = Vec::new(); let mut rows = sqlx::query_as::<_, Todo>("SELECT * FROM todos").fetch(&mut conn); - while let Some(row) = rows - .try_next() - .await? - { + while let Some(row) = rows.try_next().await? { todos.push(row); }