Remove dead code
This commit is contained in:
@@ -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.
|
||||
///
|
||||
|
||||
@@ -322,7 +322,6 @@ pub(crate) fn rust_ast() -> AstSrc {
|
||||
///
|
||||
/// [Reference](https://doc.rust-lang.org/reference/crates-and-source-files.html)
|
||||
struct SourceFile: ModuleItemOwner, AttrsOwner, DocCommentsOwner {
|
||||
modules: [Module],
|
||||
}
|
||||
|
||||
/// Function definition either with body or not.
|
||||
|
||||
Reference in New Issue
Block a user