diff options
author | bott <mhpoin@gmail.com> | 2018-11-13 21:32:56 +0100 |
---|---|---|
committer | Juan Aguilar <mhpoin@gmail.com> | 2018-11-13 22:59:25 +0100 |
commit | c5f5d80cbc0c6f91f447d0c0a6c51ba298fb0d61 (patch) | |
tree | 3aabd287edcef786ace9a501b8c24a032ee62627 | |
parent | 0a7e35c7e39835b4351af8c7469e5de0ba633a4d (diff) | |
download | askama-c5f5d80cbc0c6f91f447d0c0a6c51ba298fb0d61.tar.gz askama-c5f5d80cbc0c6f91f447d0c0a6c51ba298fb0d61.tar.bz2 askama-c5f5d80cbc0c6f91f447d0c0a6c51ba298fb0d61.zip |
Fix generated code style
-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(")?;"); } |