From 3de2319fd703eeeb992d235b18e3336564a293c3 Mon Sep 17 00:00:00 2001 From: franklinblanco Date: Sun, 17 Jul 2022 09:43:03 -0400 Subject: [PATCH] Removed comments --- src/dao/user_dao.rs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/dao/user_dao.rs b/src/dao/user_dao.rs index ebf8771..2d208cc 100644 --- a/src/dao/user_dao.rs +++ b/src/dao/user_dao.rs @@ -12,11 +12,4 @@ pub async fn find_user_by_email(conn: &MySqlPool, email: &String, app: &String) } pub async fn _find_user_by_id(conn: &MySqlPool, id: &i32) -> Result { sqlx::query_file_as!(User, "sql/schema/user/find_with_id.sql", id).fetch_one(conn).await -} -//pub async fn _update_user(conn: &mut MySqlConnection, user_to_modify: &User) -> Result<(), sqlx::Error>{ -// Ok(()) -//} -/*pub async fn find_user_by_id(_conn: &mut MySqlConnection, _id: i32) -> Result<(), ()>{ - //println!("{:?}", user::select(user, (id, name, time_created)).load::(_conn)); - Ok(()) -}*/ \ No newline at end of file +} \ No newline at end of file