aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/ra_syntax/src/ast/generated/nodes.rs4
-rw-r--r--xtask/src/ast_src.rs1
2 files changed, 1 insertions, 4 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 {
15impl ast::ModuleItemOwner for SourceFile {} 15impl ast::ModuleItemOwner for SourceFile {}
16impl ast::AttrsOwner for SourceFile {} 16impl ast::AttrsOwner for SourceFile {}
17impl ast::DocCommentsOwner for SourceFile {} 17impl ast::DocCommentsOwner for SourceFile {}
18impl SourceFile { 18impl 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///
diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs
index 8d1ffc5b5..7f0db31bd 100644
--- a/xtask/src/ast_src.rs
+++ b/xtask/src/ast_src.rs
@@ -322,7 +322,6 @@ pub(crate) fn rust_ast() -> AstSrc {
322 /// 322 ///
323 /// [Reference](https://doc.rust-lang.org/reference/crates-and-source-files.html) 323 /// [Reference](https://doc.rust-lang.org/reference/crates-and-source-files.html)
324 struct SourceFile: ModuleItemOwner, AttrsOwner, DocCommentsOwner { 324 struct SourceFile: ModuleItemOwner, AttrsOwner, DocCommentsOwner {
325 modules: [Module],
326 } 325 }
327 326
328 /// Function definition either with body or not. 327 /// Function definition either with body or not.