Function document_short

Source
fn document_short(
    item: &Item,
    cx: &Context<'_>,
    link: AssocItemLink<'_>,
    parent: &Item,
    show_def_docs: bool,
) -> impl Display
Expand description

Writes a documentation block containing only the first paragraph of the documentation. If the docs are longer, a “Read more” link is appended to the end.