aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--askama_shared/src/generator.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/askama_shared/src/generator.rs b/askama_shared/src/generator.rs
index 50ea67a..20f2c08 100644
--- a/askama_shared/src/generator.rs
+++ b/askama_shared/src/generator.rs
@@ -698,7 +698,7 @@ impl<'a, S: std::hash::BuildHasher> Generator<'a, S> {
})?;
(
mctx.macros.get(name).ok_or_else(|| {
- CompileError::String(format!("macro '{}' not found in scope '{}'", s, name))
+ CompileError::String(format!("macro '{}' not found in scope '{}'", name, s))
})?,
mctx,
)