aboutsummaryrefslogtreecommitdiffstats
path: root/askama_derive/src/generator.rs
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2018-06-21 12:17:45 +0200
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2018-06-21 12:17:45 +0200
commitf05a924c49afb537b624cfe3cbef3a95b13759a2 (patch)
tree7c4b5d978c6e13a1a48d15caacc4291f89d8addd /askama_derive/src/generator.rs
parente09cdfaf1f9cca45ed320c3ad97f3502c48ff73d (diff)
downloadaskama-f05a924c49afb537b624cfe3cbef3a95b13759a2.tar.gz
askama-f05a924c49afb537b624cfe3cbef3a95b13759a2.tar.bz2
askama-f05a924c49afb537b624cfe3cbef3a95b13759a2.zip
Inline TemplateMeta into TemplateInput
Diffstat (limited to 'askama_derive/src/generator.rs')
-rw-r--r--askama_derive/src/generator.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/askama_derive/src/generator.rs b/askama_derive/src/generator.rs
index a6e74bc..bfff265 100644
--- a/askama_derive/src/generator.rs
+++ b/askama_derive/src/generator.rs
@@ -589,7 +589,7 @@ impl<'a> Generator<'a> {
use self::DisplayWrap::*;
use super::input::EscapeMode::*;
self.write("writer.write_fmt(format_args!(\"{}\", ");
- self.write(match (wrapped, &state.input.meta.escaping) {
+ self.write(match (wrapped, &state.input.escaping) {
(Wrapped, &Html) |
(Wrapped, &None) |
(Unwrapped, &None) => "askama_expr",