aboutsummaryrefslogtreecommitdiffstats
path: root/askama_derive/src/lib.rs
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2023-10-06 11:48:22 +0200
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2023-11-01 12:52:09 +0100
commitc951fcefcafe604136cf0263c6fd51716860b754 (patch)
tree9609aa6fac14529bcbb85ee985e000ab05cb4ac6 /askama_derive/src/lib.rs
parent1782b63caa092b0f81d15dfcbb7063ed363dba60 (diff)
downloadaskama-c951fcefcafe604136cf0263c6fd51716860b754.tar.gz
askama-c951fcefcafe604136cf0263c6fd51716860b754.tar.bz2
askama-c951fcefcafe604136cf0263c6fd51716860b754.zip
Implement Default for MapChain
Diffstat (limited to '')
-rw-r--r--askama_derive/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/askama_derive/src/lib.rs b/askama_derive/src/lib.rs
index dc8ca75..37e8a3b 100644
--- a/askama_derive/src/lib.rs
+++ b/askama_derive/src/lib.rs
@@ -70,7 +70,7 @@ pub(crate) fn build_template(ast: &syn::DeriveInput) -> Result<String, CompileEr
&input,
&contexts,
heritage.as_ref(),
- MapChain::new(),
+ MapChain::default(),
config.whitespace,
)
.build(&contexts[input.path.as_path()])?;