diff options
-rw-r--r-- | askama_derive/src/generator.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/askama_derive/src/generator.rs b/askama_derive/src/generator.rs index e4261e9..7db4a49 100644 --- a/askama_derive/src/generator.rs +++ b/askama_derive/src/generator.rs @@ -228,7 +228,7 @@ impl<'a> Generator<'a> { buf.writeln("type Error = ::askama::actix_web::Error;"); buf.writeln( "fn respond_to<S>(self, _req: &::askama::actix_web::HttpRequest<S>) \ - -> Result<Self::Item, Self::Error> {", + -> ::std::result::Result<Self::Item, Self::Error> {", ); let ext = match self.input.path.extension() { |