From e3d690ba102f3624ff65f5476dc68dfe98f2e221 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Wed, 1 Dec 2021 06:43:36 -0800 Subject: Move askama_mendes integration into Askama repo (#561) --- askama_shared/src/generator.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'askama_shared/src/generator.rs') diff --git a/askama_shared/src/generator.rs b/askama_shared/src/generator.rs index cb395d4..368db9f 100644 --- a/askama_shared/src/generator.rs +++ b/askama_shared/src/generator.rs @@ -298,7 +298,7 @@ impl<'a, S: std::hash::BuildHasher> Generator<'a, S> { .push(syn::parse_str("A::ResponseBody: From").unwrap()); where_clause .predicates - .push(syn::parse_str("A::Error: From<::mendes::askama::Error>").unwrap()); + .push(syn::parse_str("A::Error: From<::askama_mendes::Error>").unwrap()); buf.writeln( format!( @@ -317,7 +317,7 @@ impl<'a, S: std::hash::BuildHasher> Generator<'a, S> { )?; buf.writeln(&format!( - "::mendes::askama::into_response(app, req, &self, {:?})", + "::askama_mendes::into_response(app, req, &self, {:?})", self.input.extension() ))?; buf.writeln("}")?; -- cgit