mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-31 16:40:37 +01:00
Merge pull request #1116 from teloxide/reanimate-code
Allow `dead_code` in a test
This commit is contained in:
commit
530b0bbf40
1 changed files with 1 additions and 0 deletions
|
@ -583,5 +583,6 @@ fn custom_result() {
|
||||||
type Result = ();
|
type Result = ();
|
||||||
|
|
||||||
#[derive(BotCommands, Debug, PartialEq)]
|
#[derive(BotCommands, Debug, PartialEq)]
|
||||||
|
#[allow(dead_code)]
|
||||||
enum DefaultCommands {}
|
enum DefaultCommands {}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue