From eb5f35ef9bdc385ab24533bc47acd8c8eb7313c3 Mon Sep 17 00:00:00 2001 From: bott Date: Sun, 11 Nov 2018 20:25:23 +0100 Subject: Update generated code example --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'README.md') 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> { -- cgit