diff options
Diffstat (limited to '')
-rw-r--r-- | askama_derive/src/generator.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/askama_derive/src/generator.rs b/askama_derive/src/generator.rs index 15a2e61..f586e1c 100644 --- a/askama_derive/src/generator.rs +++ b/askama_derive/src/generator.rs @@ -92,7 +92,7 @@ impl<'a> Generator<'a> { self.impl_modifier_response(); } if cfg!(feature = "rocket") { - self.impl_responder(); + self.impl_rocket_responder(); } self.buf } @@ -216,7 +216,7 @@ impl<'a> Generator<'a> { } // Implement Rocket's `Responder`. - fn impl_responder(&mut self) { + fn impl_rocket_responder(&mut self) { let lifetime = syn::Lifetime::new("'askama", Span::call_site()); let param = syn::GenericParam::Lifetime(syn::LifetimeDef::new(lifetime)); self.write_header("::askama::rocket::Responder<'askama>", Some(vec![param])); |