aboutsummaryrefslogtreecommitdiffstats
path: root/askama_derive
diff options
context:
space:
mode:
authorLibravatar bott <mhpoin@gmail.com>2018-11-13 21:32:56 +0100
committerLibravatar Juan Aguilar <mhpoin@gmail.com>2018-11-13 22:59:25 +0100
commitc5f5d80cbc0c6f91f447d0c0a6c51ba298fb0d61 (patch)
tree3aabd287edcef786ace9a501b8c24a032ee62627 /askama_derive
parent0a7e35c7e39835b4351af8c7469e5de0ba633a4d (diff)
downloadaskama-c5f5d80cbc0c6f91f447d0c0a6c51ba298fb0d61.tar.gz
askama-c5f5d80cbc0c6f91f447d0c0a6c51ba298fb0d61.tar.bz2
askama-c5f5d80cbc0c6f91f447d0c0a6c51ba298fb0d61.zip
Fix generated code style
Diffstat (limited to '')
-rw-r--r--askama_derive/src/generator.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/askama_derive/src/generator.rs b/askama_derive/src/generator.rs
index 8b75e21..a58f3a4 100644
--- a/askama_derive/src/generator.rs
+++ b/askama_derive/src/generator.rs
@@ -674,7 +674,7 @@ impl<'a> Generator<'a> {
buf.indent();
buf.writeln("writer,");
buf.writeln(&format!("{:#?},", &buf_format.buf));
- buf.write(buf_expr.buf.trim());
+ buf.writeln(buf_expr.buf.trim());
buf.dedent();
buf.writeln(")?;");
}