mirror of
https://github.com/askama-rs/askama.git
synced 2025-10-02 15:25:19 +00:00
Update generate code example
This commit is contained in:
parent
c5f5d80cbc
commit
ade72a0f9d
@ -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> {
|
||||
|
Loading…
x
Reference in New Issue
Block a user