fix has_annotations
This commit is contained in:
parent
458e22b577
commit
112ddc615b
1 changed files with 1 additions and 1 deletions
|
|
@ -284,7 +284,7 @@ impl Method {
|
|||
/// If the fields has annotations
|
||||
pub fn has_annotations(&self) -> bool {
|
||||
!self.annotations.is_empty()
|
||||
|| !self
|
||||
|| self
|
||||
.parameters_annotations
|
||||
.iter()
|
||||
.any(|list| !list.is_empty())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue