aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/ast/generated.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_syntax/src/ast/generated.rs')
-rw-r--r--crates/ra_syntax/src/ast/generated.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/ast/generated.rs b/crates/ra_syntax/src/ast/generated.rs
index 33d5578e7..8a3669bd1 100644
--- a/crates/ra_syntax/src/ast/generated.rs
+++ b/crates/ra_syntax/src/ast/generated.rs
@@ -2063,7 +2063,11 @@ impl AstNode for SlicePat {
2063 &self.syntax 2063 &self.syntax
2064 } 2064 }
2065} 2065}
2066impl SlicePat {} 2066impl SlicePat {
2067 pub fn args(&self) -> AstChildren<Pat> {
2068 AstChildren::new(&self.syntax)
2069 }
2070}
2067#[derive(Debug, Clone, PartialEq, Eq, Hash)] 2071#[derive(Debug, Clone, PartialEq, Eq, Hash)]
2068pub struct RangePat { 2072pub struct RangePat {
2069 pub(crate) syntax: SyntaxNode, 2073 pub(crate) syntax: SyntaxNode,