diff options
Diffstat (limited to 'askama_derive/src/generator.rs')
-rw-r--r-- | askama_derive/src/generator.rs | 2 |
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(")?;"); } |