aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared/src/generator.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--askama_shared/src/generator.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/askama_shared/src/generator.rs b/askama_shared/src/generator.rs
index f56ae4b..99b8d85 100644
--- a/askama_shared/src/generator.rs
+++ b/askama_shared/src/generator.rs
@@ -120,7 +120,7 @@ impl<'a, S: std::hash::BuildHasher> Generator<'a, S> {
fn impl_template(&mut self, ctx: &'a Context, buf: &mut Buffer) {
self.write_header(buf, "::askama::Template", None);
buf.writeln(
- "fn render_into(&self, writer: &mut ::std::fmt::Write) -> \
+ "fn render_into(&self, writer: &mut dyn ::std::fmt::Write) -> \
::askama::Result<()> {",
);