From c328eb5d6125e1799f05bc82c3834a850172556a Mon Sep 17 00:00:00 2001 From: Keuin Date: Mon, 28 Mar 2022 10:18:46 +0800 Subject: Code reformat. --- src/bot.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/bot.rs') diff --git a/src/bot.rs b/src/bot.rs index d60bc6f..e663360 100644 --- a/src/bot.rs +++ b/src/bot.rs @@ -53,7 +53,8 @@ async fn answer(bot: AutoSend, message: Message, command: Command, db: DbPo let message = match database::get_user_by_chat_id(&db, chat_id as u64).await { Ok(u) => match u { - Some(user) => format!("Your token is `{}`. Treat it as a secret!", user.token), + Some(user) => + format!("Your token is `{}`. Treat it as a secret!", user.token), _ => String::from("Error: cannot fetch token.") }, Err(why) => { -- cgit v1.2.3