diff options
Diffstat (limited to '')
-rw-r--r-- | askama_derive/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/askama_derive/src/lib.rs b/askama_derive/src/lib.rs index 101b861..1b6c02a 100644 --- a/askama_derive/src/lib.rs +++ b/askama_derive/src/lib.rs @@ -49,7 +49,7 @@ fn build_template(ast: &syn::DeriveInput) -> Result<String, CompileError> { let mut contexts = HashMap::new(); for (path, nodes) in &parsed { - contexts.insert(*path, Context::new(&input.config, path, nodes)?); + contexts.insert(*path, Context::new(input.config, path, nodes)?); } let ctx = &contexts[&input.path]; |