Make the check functions on templates crate private

This will report if we forget to use one of the check function.
This commit is contained in:
Quentin Gliech
2025-05-05 13:49:09 +02:00
parent 2590b7dade
commit 3eb8908cba
+1 -1
View File
@@ -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<chrono::Utc>, rng: &mut impl rand::Rng)
-> anyhow::Result<()> {