diff options
author | Keuin <[email protected]> | 2022-03-28 10:18:46 +0800 |
---|---|---|
committer | Keuin <[email protected]> | 2022-03-28 10:18:46 +0800 |
commit | c328eb5d6125e1799f05bc82c3834a850172556a (patch) | |
tree | 64caa7beec36dc5289e9fcce4ec04b40d528667c /src/bot.rs | |
parent | c8f197bf58f198e1cb70d6ea3ae49fc51434b718 (diff) |
Code reformat.
Diffstat (limited to 'src/bot.rs')
-rw-r--r-- | src/bot.rs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -53,7 +53,8 @@ async fn answer(bot: AutoSend<Bot>, 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) => { |