diff options
author | bott <mhpoin@gmail.com> | 2018-11-13 21:35:15 +0100 |
---|---|---|
committer | Juan Aguilar <mhpoin@gmail.com> | 2018-11-13 22:59:25 +0100 |
commit | ade72a0f9d815a37a8b027506201497dbdef74f6 (patch) | |
tree | 07e3567edc92fcddc9a89cec6e22ddc58d3deed1 /README.md | |
parent | c5f5d80cbc0c6f91f447d0c0a6c51ba298fb0d61 (diff) | |
download | askama-ade72a0f9d815a37a8b027506201497dbdef74f6.tar.gz askama-ade72a0f9d815a37a8b027506201497dbdef74f6.tar.bz2 askama-ade72a0f9d815a37a8b027506201497dbdef74f6.zip |
Update generate code example
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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> { |