From 9a2e39ea01758f55d177734f781bfcc87f756f7e Mon Sep 17 00:00:00 2001 From: TheAwiteb Date: Thu, 2 Mar 2023 15:57:10 +0300 Subject: [PATCH] Rebase `https://github.com/teloxide/teloxide/tree/master` into `https://github.com/TheAwiteb/teloxide/tree/support-doc-attr` --- crates/teloxide/src/utils/command.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/teloxide/src/utils/command.rs b/crates/teloxide/src/utils/command.rs index 78a4df7c..d3413e9d 100644 --- a/crates/teloxide/src/utils/command.rs +++ b/crates/teloxide/src/utils/command.rs @@ -90,7 +90,7 @@ pub use teloxide_macros::BotCommands; /// 2. `#[command(prefix = "prefix")]` /// Change a prefix for all commands (the default is `/`). /// -/// 3. `#[command(description = "description")]` +/// 3. `#[command(description = "description")]` and `/// description` /// Add a summary description of commands before all commands. /// /// 4. `#[command(parse_with = "parser")]` @@ -167,7 +167,7 @@ pub use teloxide_macros::BotCommands; /// Rename one command to `name` (literal renaming; do not confuse with /// `rename_rule`). /// -/// 3. `#[command(description = "description")]` +/// 3. `#[command(description = "description")]` and `/// description` /// Give your command a description. It will be shown in the help message. /// /// 4. `#[command(parse_with = "parser")]`