From b42ff339387af697f35cc8b630ac98aaaf68ac2c Mon Sep 17 00:00:00 2001 From: René Kijewski Date: Mon, 31 Jan 2022 11:58:50 +0100 Subject: Update comment in TemplateInput::new() --- askama_shared/src/input.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'askama_shared/src') diff --git a/askama_shared/src/input.rs b/askama_shared/src/input.rs index 1d98231..b9341a2 100644 --- a/askama_shared/src/input.rs +++ b/askama_shared/src/input.rs @@ -50,7 +50,7 @@ impl TemplateInput<'_> { template_args.ok_or(CompileError::Static("no attribute 'template' found"))?; // Loop over the meta attributes and find everything that we - // understand. Raise panics if something is not right. + // understand. Return a CompileError if something is not right. // `source` contains an enum that can represent `path` or `source`. let mut source = None; let mut print = Print::None; -- cgit