diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-03-11 12:59:55 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-03-11 23:36:06 +0100 |
| commit | 5ac7eb3860ebd3247f6486c227e816894cb8fd91 (patch) | |
| tree | a29a868c681c7de39f15f2d9d3f031db1861b90a /src/eval/capture.rs | |
| parent | 5ce2a006b6d45d29be15e4562ae3ab4fc1b8e97c (diff) | |
Rename template to content
Diffstat (limited to 'src/eval/capture.rs')
| -rw-r--r-- | src/eval/capture.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eval/capture.rs b/src/eval/capture.rs index b27aceb7..4e8d7604 100644 --- a/src/eval/capture.rs +++ b/src/eval/capture.rs @@ -49,8 +49,8 @@ impl<'a> CapturesVisitor<'a> { // through the expressions that contain them). Some(Expr::Ident(ident)) => self.capture(ident), - // Blocks and templates create a scope. - Some(Expr::Code(_) | Expr::Template(_)) => { + // Code and content blocks create a scope. + Some(Expr::Code(_) | Expr::Content(_)) => { self.internal.enter(); for child in node.children() { self.visit(child); |
