diff options
Diffstat (limited to 'crates/ra_syntax/src')
-rw-r--r-- | crates/ra_syntax/src/ast/generated/nodes.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/crates/ra_syntax/src/ast/generated/nodes.rs b/crates/ra_syntax/src/ast/generated/nodes.rs index 01508ed88..df9b5cc2c 100644 --- a/crates/ra_syntax/src/ast/generated/nodes.rs +++ b/crates/ra_syntax/src/ast/generated/nodes.rs | |||
@@ -15,9 +15,7 @@ pub struct SourceFile { | |||
15 | impl ast::ModuleItemOwner for SourceFile {} | 15 | impl ast::ModuleItemOwner for SourceFile {} |
16 | impl ast::AttrsOwner for SourceFile {} | 16 | impl ast::AttrsOwner for SourceFile {} |
17 | impl ast::DocCommentsOwner for SourceFile {} | 17 | impl ast::DocCommentsOwner for SourceFile {} |
18 | impl SourceFile { | 18 | impl SourceFile {} |
19 | pub fn modules(&self) -> AstChildren<Module> { support::children(&self.syntax) } | ||
20 | } | ||
21 | /// Function definition either with body or not. | 19 | /// Function definition either with body or not. |
22 | /// Includes all of its attributes and doc comments. | 20 | /// Includes all of its attributes and doc comments. |
23 | /// | 21 | /// |