mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-03 17:52:12 +01:00
Moving the #[allow(deprecated)]
to the descriptions_off
test
Co-authored-by: Waffle Maybe <waffle.lapkin@gmail.com>
This commit is contained in:
parent
f979cc4f26
commit
9b58195fe9
1 changed files with 1 additions and 1 deletions
|
@ -228,13 +228,13 @@ fn parse_named_fields() {
|
|||
|
||||
#[test]
|
||||
#[cfg(feature = "macros")]
|
||||
#[allow(deprecated)]
|
||||
fn descriptions_off() {
|
||||
#[derive(BotCommands, Debug, PartialEq)]
|
||||
#[command(rename_rule = "lowercase")]
|
||||
enum DefaultCommands {
|
||||
#[command(hide)]
|
||||
Start,
|
||||
#[allow(deprecated)]
|
||||
#[command(description = "off")]
|
||||
Username,
|
||||
/// off
|
||||
|
|
Loading…
Reference in a new issue