mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-13 19:27:52 +01:00
Remove #[derive(Default)] from StartState in examples/dialogue_bot
This commit is contained in:
parent
63b69780d4
commit
2685123316
2 changed files with 0 additions and 2 deletions
|
@ -214,7 +214,6 @@ When a user sends a message to our bot, and such a dialogue does not yet exist,
|
|||
```rust
|
||||
// Imports are omitted...
|
||||
|
||||
#[derive(Default)]
|
||||
pub struct StartState;
|
||||
|
||||
#[teloxide(subtransition)]
|
||||
|
|
|
@ -2,7 +2,6 @@ use crate::dialogue::{states::ReceiveFullNameState, Dialogue};
|
|||
use teloxide::prelude::*;
|
||||
use teloxide_macros::teloxide;
|
||||
|
||||
#[derive(Default)]
|
||||
pub struct StartState;
|
||||
|
||||
#[teloxide(subtransition)]
|
||||
|
|
Loading…
Add table
Reference in a new issue