From 7c7f58dffbb80763300b70645a6625ee1c59837f Mon Sep 17 00:00:00 2001 From: TheAwiteb Date: Wed, 20 Sep 2023 18:15:17 +0300 Subject: [PATCH] Add `#[allow(deprecated)]` for `description = "off"` in hides test --- crates/teloxide/tests/command.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/teloxide/tests/command.rs b/crates/teloxide/tests/command.rs index 0a7dab22..6515711a 100644 --- a/crates/teloxide/tests/command.rs +++ b/crates/teloxide/tests/command.rs @@ -234,6 +234,7 @@ fn descriptions_off() { enum DefaultCommands { #[command(hide)] Start, + #[allow(deprecated)] #[command(description = "off")] Username, /// off