aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorLibravatar bott <mhpoin@gmail.com>2018-11-13 21:35:15 +0100
committerLibravatar Juan Aguilar <mhpoin@gmail.com>2018-11-13 22:59:25 +0100
commitade72a0f9d815a37a8b027506201497dbdef74f6 (patch)
tree07e3567edc92fcddc9a89cec6e22ddc58d3deed1 /README.md
parentc5f5d80cbc0c6f91f447d0c0a6c51ba298fb0d61 (diff)
downloadaskama-ade72a0f9d815a37a8b027506201497dbdef74f6.tar.gz
askama-ade72a0f9d815a37a8b027506201497dbdef74f6.tar.bz2
askama-ade72a0f9d815a37a8b027506201497dbdef74f6.zip
Update generate code example
Diffstat (limited to '')
-rw-r--r--README.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index 6264c2b..6defabd 100644
--- a/README.md
+++ b/README.md
@@ -158,8 +158,9 @@ impl < 'a > ::askama::Template for HelloTemplate< 'a > {
fn render_into(&self, writer: &mut ::std::fmt::Write) -> ::askama::Result<()> {
write!(
writer,
- "Hello, {a0}!",
- a0=&::askama::MarkupDisplay::from(&self.name),)?;
+ "Hello, {expr0}!",
+ expr0 = &::askama::MarkupDisplay::from(&self.name),
+ )?;
Ok(())
}
fn extension() -> Option<&'static str> {