mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 22:46:39 +01:00
Remove redundant format!
This commit is contained in:
parent
03ab247262
commit
c0582e001d
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ async fn have_number(cx: Cx, state: HaveNumberState, text: &str) -> Out {
|
|||
cx.answer_str(format!("Here is your number: {}", num)).await?;
|
||||
next(state)
|
||||
} else if text.starts_with("/reset") {
|
||||
cx.answer_str(format!("Resetted number")).await?;
|
||||
cx.answer_str("Resetted number").await?;
|
||||
next(StartState)
|
||||
} else {
|
||||
cx.answer_str("Please, send /get or /reset").await?;
|
||||
|
|
Loading…
Reference in a new issue