Skip to main content

render_citizen_census

Function render_citizen_census 

Source
pub fn render_citizen_census(citizens: &[&CitizenInfo]) -> String
Expand description

Renders the supplied citizen rows as a generated Markdown census table.

Emits a fixed header plus one table row per CitizenInfo. Callers pass an already-ordered slice; this function does not sort.