From 75098f3561aa4dc0e030ee08d8bb85a49d6ba784 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Sun, 11 Nov 2018 21:22:56 +0100 Subject: Code style tweaks --- askama_derive/src/generator.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/askama_derive/src/generator.rs b/askama_derive/src/generator.rs index e52a820..38eca55 100644 --- a/askama_derive/src/generator.rs +++ b/askama_derive/src/generator.rs @@ -660,7 +660,7 @@ impl<'a> Generator<'a> { let id = self.named; self.named += 1; - buf_expr.write(&format!("a{}=", id)); + buf_expr.write(&format!("expr{} = ", id)); buf_expr.write("&"); buf_expr.write(&expr_buf.buf); buf_expr.writeln(","); @@ -668,7 +668,7 @@ impl<'a> Generator<'a> { id }); - buf_format.write(&format!("{{a{}}}", id)); + buf_format.write(&format!("{{expr{}}}", id)); } } } -- cgit