mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-08 19:33:53 +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> {
|
pub(crate) fn deprecated_description_off_span(&self) -> Option<Span> {
|
||||||
self.description
|
self.description
|
||||||
.as_ref()
|
.as_ref()
|
||||||
.filter(|(d, ..)| d == "off" && !self.description_is_enabled())
|
.filter(|(d, ..)| d == "off" && !self.contains_doc_comment())
|
||||||
.map(|&(.., span)| span)
|
.map(|&(.., span)| span)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue