Remove dead code

This commit is contained in:
Aleksey Kladov 2020-07-29 15:46:47 +02:00
parent b9c21078c5
commit 9fb1624c5e
2 changed files with 1 additions and 4 deletions

View file

@ -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<Module> { support::children(&self.syntax) }
}
impl SourceFile {}
/// Function definition either with body or not.
/// Includes all of its attributes and doc comments.
///