mirror of
https://github.com/element-hq/matrix-authentication-service.git
synced 2026-05-10 19:27:03 +00:00
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:
@@ -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<()> {
|
||||
|
||||
Reference in New Issue
Block a user