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

pub(in html::render) fn document_short(
    w: &mut Buffer,
    item: &Item,
    link: AssocItemLink<'_>,
    prefix: &str,
    is_hidden: 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.