diff options
author | Aleksey Kladov <[email protected]> | 2020-07-29 14:46:47 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-07-29 14:46:47 +0100 |
commit | 9fb1624c5eb0a00b1c22ad048436cc2735f22277 (patch) | |
tree | 0f9cca6fd212c8aa99926144ec7685f714e4b4ce /crates/ra_syntax | |
parent | b9c21078c5d738c12c9ae33491414b06907ebb48 (diff) |
Remove dead code
Diffstat (limited to 'crates/ra_syntax')
-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 | /// |