mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Fix typo
This commit is contained in:
parent
9eececeab2
commit
de80b57d9a
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ impl Command {
|
|||
pub(crate) fn deprecated_description_off_span(&self) -> Option<Span> {
|
||||
self.description
|
||||
.as_ref()
|
||||
.filter(|(d, ..)| d == "off" && !self.description_is_enabled())
|
||||
.filter(|(d, ..)| d == "off" && !self.contains_doc_comment())
|
||||
.map(|&(.., span)| span)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue