mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-24 09:16:12 +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),
|
d.strip_prefix(' ').unwrap_or(&d),
|
||||||
attr.sp,
|
attr.sp,
|
||||||
);
|
);
|
||||||
if is_doc && matches!(this.description, Some((_, false, _))) {
|
if is_doc {
|
||||||
if let Some((_, is_doc, _)) = &mut this.description {
|
if let Some((_, is_doc, _)) = &mut this.description {
|
||||||
*is_doc = true;
|
*is_doc = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue