Function rustdoc::html::render::document_short[−][src]

fn document_short(
    w: &mut Buffer,
    item: &Item,
    cx: &Context<'_>,
    link: AssocItemLink<'_>,
    prefix: &str,
    is_hidden: bool,
    parent: Option<&Item>,
    show_def_docs: bool
)

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.