mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Remove unnecessary docs check
Co-authored-by: Waffle Maybe <waffle.lapkin@gmail.com> Co-authored-by: Waffle Maybe <waffle.lapkin@gmail.com>
This commit is contained in:
parent
c0a6e00520
commit
4096f8b443
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ impl CommandAttrs {
|
|||
d.strip_prefix(' ').unwrap_or(&d),
|
||||
attr.sp,
|
||||
);
|
||||
if is_doc && matches!(this.description, Some((_, false, _))) {
|
||||
if is_doc {
|
||||
if let Some((_, is_doc, _)) = &mut this.description {
|
||||
*is_doc = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue