From 05c15da59d785ab9c5020a28e3c77230fc009fce Mon Sep 17 00:00:00 2001 From: h7x4 Date: Wed, 7 Aug 2024 16:18:48 +0200 Subject: [PATCH] Remove already fixed TODOs --- src/cli/user_command.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/cli/user_command.rs b/src/cli/user_command.rs index 0e395d1..06e6a47 100644 --- a/src/cli/user_command.rs +++ b/src/cli/user_command.rs @@ -72,7 +72,6 @@ pub async fn handle_command(command: UserCommand, mut conn: MySqlConnection) -> result } -// TODO: provide a better error message when the user already exists async fn create_users(args: UserCreateArgs, conn: &mut MySqlConnection) -> anyhow::Result<()> { if args.username.is_empty() { anyhow::bail!("No usernames provided"); @@ -87,7 +86,6 @@ async fn create_users(args: UserCreateArgs, conn: &mut MySqlConnection) -> anyho Ok(()) } -// TODO: provide a better error message when the user does not exist async fn drop_users(args: UserDeleteArgs, conn: &mut MySqlConnection) -> anyhow::Result<()> { if args.username.is_empty() { anyhow::bail!("No usernames provided");