mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-10 20:12:25 +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?;
|
cx.answer_str(format!("Here is your number: {}", num)).await?;
|
||||||
next(state)
|
next(state)
|
||||||
} else if text.starts_with("/reset") {
|
} else if text.starts_with("/reset") {
|
||||||
cx.answer_str(format!("Resetted number")).await?;
|
cx.answer_str("Resetted number").await?;
|
||||||
next(StartState)
|
next(StartState)
|
||||||
} else {
|
} else {
|
||||||
cx.answer_str("Please, send /get or /reset").await?;
|
cx.answer_str("Please, send /get or /reset").await?;
|
||||||
|
|
Loading…
Reference in a new issue