Skip to main content

render_module

Function render_module 

Source
pub fn render_module(krate: &IndexedCrate, module: &PublicModule<'_>) -> String
Expand description

Render the per-module narrative document.

Each module document contains the module-level doc comment followed by a public-item reference organised by kind (functions, types, traits, constants, macros). Item summaries are the first non-empty line of the corresponding doc comment; items with no docs show a placeholder.