diff --git a/crates/templates/src/macros.rs b/crates/templates/src/macros.rs index b3ed9d60a..8fae68237 100644 --- a/crates/templates/src/macros.rs +++ b/crates/templates/src/macros.rs @@ -75,7 +75,7 @@ macro_rules! register_templates { /// # Errors /// /// Returns an error if the template fails to render with any of the sample. - pub fn $name + pub(crate) fn $name $(< $( $lt $( : $clt $(+ $dlt )* + TemplateContext )? ),+ >)? (templates: &Templates, now: chrono::DateTime, rng: &mut impl rand::Rng) -> anyhow::Result<()> {