diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-02-12 23:11:47 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-02-12 23:11:47 +0100 |
| commit | 094462cbdda15f19d2dc071b18201f656b8ddcd4 (patch) | |
| tree | 0994b286aa1718cbc1a0b9523a934c1fb3f6f755 /src/exec | |
| parent | 58f799c41cb71f167e6e82eb94b3cde1303de11e (diff) | |
Make templates and strings summable 🥪
Diffstat (limited to 'src/exec')
| -rw-r--r-- | src/exec/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/exec/mod.rs b/src/exec/mod.rs index 57fe8138..a9a44c10 100644 --- a/src/exec/mod.rs +++ b/src/exec/mod.rs @@ -155,6 +155,7 @@ impl Exec for TemplateNode { fn exec(&self, ctx: &mut ExecContext) { match self { Self::Tree { tree, map } => tree.exec_with_map(ctx, &map), + Self::Str(s) => ctx.push_text(s), Self::Any(any) => any.exec(ctx), } } |
