diff options
author | René Kijewski <rene.kijewski@fu-berlin.de> | 2023-08-01 03:48:24 +0200 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2023-08-01 13:04:41 +0200 |
commit | 6323b5e17198f6d91cb1d880823168a43b264ebf (patch) | |
tree | 11456147892b5b8a4b5fb671c6d17be60dd81530 /askama_derive/src | |
parent | 7b7c38b37785b83ce28f1cc5f6e89abb89672276 (diff) | |
download | askama-6323b5e17198f6d91cb1d880823168a43b264ebf.tar.gz askama-6323b5e17198f6d91cb1d880823168a43b264ebf.tar.bz2 askama-6323b5e17198f6d91cb1d880823168a43b264ebf.zip |
parser: add type for `Node::Raw`
Diffstat (limited to '')
-rw-r--r-- | askama_derive/src/generator.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/askama_derive/src/generator.rs b/askama_derive/src/generator.rs index 5711c36..9781cda 100644 --- a/askama_derive/src/generator.rs +++ b/askama_derive/src/generator.rs @@ -666,10 +666,10 @@ impl<'a> Generator<'a> { self.flush_ws(m.ws1); self.prepare_ws(m.ws2); } - Node::Raw(ws1, ref lit, ws2) => { - self.handle_ws(ws1); - self.visit_lit(lit); - self.handle_ws(ws2); + Node::Raw(ref raw) => { + self.handle_ws(raw.ws1); + self.visit_lit(&raw.lit); + self.handle_ws(raw.ws2); } Node::Import(ref i) => { if level != AstLevel::Top { |