Skip to main content

render_template

Function render_template 

Source
pub fn render_template(
    tpl: &Template,
    cx: &Context<'_>,
) -> Result<String, RenderError>
Expand description

render a parsed template over a context (§5); a RenderError carries the diagnostic