aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar René Kijewski <kijewski@library.vetmed.fu-berlin.de>2022-01-31 11:58:50 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2022-01-31 12:24:42 +0100
commitb42ff339387af697f35cc8b630ac98aaaf68ac2c (patch)
tree433790e21cac0bf98246a237a11a193233140951
parentcd744f0aa705882f0e4fd0466e24cdbccf9fc28f (diff)
downloadaskama-b42ff339387af697f35cc8b630ac98aaaf68ac2c.tar.gz
askama-b42ff339387af697f35cc8b630ac98aaaf68ac2c.tar.bz2
askama-b42ff339387af697f35cc8b630ac98aaaf68ac2c.zip
Update comment in TemplateInput::new()
-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;