Skip to main content

has_tag

Function has_tag 

Source
pub fn has_tag(attrs: &[Attribute], tag: &str) -> bool
Expand description

Whether the doc comment of attrs has a @tag line for tag: its first word for a one-word tag (noRd), its whole text for a longer one (keywords internal), as has_roxygen_tag in the macros matches it.