Skip to main content

implicit_title_from_attrs

Function implicit_title_from_attrs 

Source
pub(crate) fn implicit_title_from_attrs(attrs: &[Attribute]) -> Option<String>
Expand description

Extract the implicit title from doc attributes (first sentence, up to first . or newline).

Returns None if there are no doc comments or if docs start with a @tag.