aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared/src/input.rs
diff options
context:
space:
mode:
Diffstat (limited to 'askama_shared/src/input.rs')
-rw-r--r--askama_shared/src/input.rs2
1 files changed, 1 insertions, 1 deletions
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;