diff options
author | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2021-12-01 06:43:36 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-01 15:43:36 +0100 |
commit | e3d690ba102f3624ff65f5476dc68dfe98f2e221 (patch) | |
tree | 873c6957e727befe1103633a3b5559451e66f743 /askama_shared/src/generator.rs | |
parent | 671bc7f32fd150f04793d8d5dbe806e9d4cfe669 (diff) | |
download | askama-e3d690ba102f3624ff65f5476dc68dfe98f2e221.tar.gz askama-e3d690ba102f3624ff65f5476dc68dfe98f2e221.tar.bz2 askama-e3d690ba102f3624ff65f5476dc68dfe98f2e221.zip |
Move askama_mendes integration into Askama repo (#561)
Diffstat (limited to 'askama_shared/src/generator.rs')
-rw-r--r-- | askama_shared/src/generator.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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<String>").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("}")?; |