From ade72a0f9d815a37a8b027506201497dbdef74f6 Mon Sep 17 00:00:00 2001 From: bott Date: Tue, 13 Nov 2018 21:35:15 +0100 Subject: Update generate code example --- README.md | 5 +++-- 1 file 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> { -- cgit