aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-07-29 14:46:47 +0100
committerAleksey Kladov <[email protected]>2020-07-29 14:46:47 +0100
commit9fb1624c5eb0a00b1c22ad048436cc2735f22277 (patch)
tree0f9cca6fd212c8aa99926144ec7685f714e4b4ce /crates/ra_syntax
parentb9c21078c5d738c12c9ae33491414b06907ebb48 (diff)
Remove dead code
Diffstat (limited to 'crates/ra_syntax')
-rw-r--r--crates/ra_syntax/src/ast/generated/nodes.rs4
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 {
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///