aboutsummaryrefslogtreecommitdiffstats
path: root/askama_derive
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--askama_derive/src/generator.rs4
1 files 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));
}
}
}