aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/README.md b/README.md
index 788a25e..6264c2b 100644
--- a/README.md
+++ b/README.md
@@ -158,9 +158,8 @@ impl < 'a > ::askama::Template for HelloTemplate< 'a > {
fn render_into(&self, writer: &mut ::std::fmt::Write) -> ::askama::Result<()> {
write!(
writer,
- "Hello, {}!",
- &::askama::MarkupDisplay::from(&self.name),
- )?;
+ "Hello, {a0}!",
+ a0=&::askama::MarkupDisplay::from(&self.name),)?;
Ok(())
}
fn extension() -> Option<&'static str> {