diff options
Diffstat (limited to 'crates/ra_syntax/src/ast/generated.rs')
-rw-r--r-- | crates/ra_syntax/src/ast/generated.rs | 6 |
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 23a573d74..271040bf4 100644 --- a/crates/ra_syntax/src/ast/generated.rs +++ b/crates/ra_syntax/src/ast/generated.rs | |||
@@ -910,7 +910,11 @@ impl AstNode for FieldPatList { | |||
910 | 910 | ||
911 | 911 | ||
912 | impl FieldPatList { | 912 | impl FieldPatList { |
913 | pub fn pats(&self) -> impl Iterator<Item = &FieldPat> { | 913 | pub fn field_pats(&self) -> impl Iterator<Item = &FieldPat> { |
914 | super::children(self) | ||
915 | } | ||
916 | |||
917 | pub fn bind_pats(&self) -> impl Iterator<Item = &BindPat> { | ||
914 | super::children(self) | 918 | super::children(self) |
915 | } | 919 | } |
916 | } | 920 | } |