diff options
author | bott <mhpoin@gmail.com> | 2018-11-11 20:25:23 +0100 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2018-11-11 21:06:51 +0100 |
commit | eb5f35ef9bdc385ab24533bc47acd8c8eb7313c3 (patch) | |
tree | 9421781a508e2ec02c2e963023ee10025fee6706 | |
parent | e7ed953b88c7f6383085c88dd5f761bb2875c02b (diff) | |
download | askama-eb5f35ef9bdc385ab24533bc47acd8c8eb7313c3.tar.gz askama-eb5f35ef9bdc385ab24533bc47acd8c8eb7313c3.tar.bz2 askama-eb5f35ef9bdc385ab24533bc47acd8c8eb7313c3.zip |
Update generated code example
Diffstat (limited to '')
-rw-r--r-- | README.md | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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> { |