From c5f5d80cbc0c6f91f447d0c0a6c51ba298fb0d61 Mon Sep 17 00:00:00 2001 From: bott Date: Tue, 13 Nov 2018 21:32:56 +0100 Subject: Fix generated code style --- askama_derive/src/generator.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(")?;"); } -- cgit