aboutsummaryrefslogtreecommitdiffstats
path: root/askama_derive/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'askama_derive/src/lib.rs')
-rw-r--r--askama_derive/src/lib.rs10
1 files changed, 2 insertions, 8 deletions
diff --git a/askama_derive/src/lib.rs b/askama_derive/src/lib.rs
index a5eb67a..547a449 100644
--- a/askama_derive/src/lib.rs
+++ b/askama_derive/src/lib.rs
@@ -60,14 +60,8 @@ pub(crate) fn build_template(ast: &syn::DeriveInput) -> Result<String, CompileEr
eprintln!("{:?}", templates[input.path.as_path()].nodes());
}
- let code = Generator::new(
- &input,
- &contexts,
- heritage.as_ref(),
- MapChain::default(),
- config.whitespace,
- )
- .build(&contexts[input.path.as_path()])?;
+ let code = Generator::new(&input, &contexts, heritage.as_ref(), MapChain::default())
+ .build(&contexts[input.path.as_path()])?;
if input.print == Print::Code || input.print == Print::All {
eprintln!("{code}");
}