diff --git a/src/templating.rs b/src/templating.rs index 3c94dd9..19875da 100644 --- a/src/templating.rs +++ b/src/templating.rs @@ -46,7 +46,7 @@ pub(crate) fn render_text(data: Data, writer: impl Write) -> Result<()> { } fn render(template_name: &str, context: &Context, writer: impl Write) -> Result<()> { - get_tera().render_to(template_name, &context, writer)?; + get_tera().render_to(template_name, context, writer)?; Ok(()) }