From 0c74290519ee999002e9cc99ba3d272d68e1014f Mon Sep 17 00:00:00 2001 From: Laurenz Date: Thu, 8 Jul 2021 23:36:20 +0200 Subject: Compare functions and templates by identity --- src/exec/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/exec/mod.rs') diff --git a/src/exec/mod.rs b/src/exec/mod.rs index 8e369d12..fc829676 100644 --- a/src/exec/mod.rs +++ b/src/exec/mod.rs @@ -152,7 +152,7 @@ impl Exec for Value { impl Exec for TemplateValue { fn exec(&self, ctx: &mut ExecContext) { - for node in self { + for node in self.iter() { node.exec(ctx); } } -- cgit v1.2.3