Function rustdoc::html::render::document_short
source · fn document_short(
w: &mut Buffer,
item: &Item,
cx: &mut Context<'_>,
link: AssocItemLink<'_>,
parent: &Item,
show_def_docs: bool
)
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.