From 9fb1624c5eb0a00b1c22ad048436cc2735f22277 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 29 Jul 2020 15:46:47 +0200 Subject: Remove dead code --- crates/ra_syntax/src/ast/generated/nodes.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'crates') 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 { impl ast::ModuleItemOwner for SourceFile {} impl ast::AttrsOwner for SourceFile {} impl ast::DocCommentsOwner for SourceFile {} -impl SourceFile { - pub fn modules(&self) -> AstChildren { support::children(&self.syntax) } -} +impl SourceFile {} /// Function definition either with body or not. /// Includes all of its attributes and doc comments. /// -- cgit v1.2.3