aboutsummaryrefslogtreecommitdiff
path: root/crates/libsyntax2/src/ast/generated.rs.tera
diff options
context:
space:
mode:
Diffstat (limited to 'crates/libsyntax2/src/ast/generated.rs.tera')
-rw-r--r--crates/libsyntax2/src/ast/generated.rs.tera2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/libsyntax2/src/ast/generated.rs.tera b/crates/libsyntax2/src/ast/generated.rs.tera
index 09630e427..86b8b05d1 100644
--- a/crates/libsyntax2/src/ast/generated.rs.tera
+++ b/crates/libsyntax2/src/ast/generated.rs.tera
@@ -12,7 +12,7 @@ pub struct {{ node }}<R: TreeRoot = Arc<SyntaxRoot>> {
12impl<R: TreeRoot> AstNode<R> for {{ node }}<R> { 12impl<R: TreeRoot> AstNode<R> for {{ node }}<R> {
13 fn cast(syntax: SyntaxNode<R>) -> Option<Self> { 13 fn cast(syntax: SyntaxNode<R>) -> Option<Self> {
14 match syntax.kind() { 14 match syntax.kind() {
15 {{ node | upper }} => Some({{ node }} { syntax }), 15 {{ node | SCREAM }} => Some({{ node }} { syntax }),
16 _ => None, 16 _ => None,
17 } 17 }
18 } 18 }