mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
Remove dead code
This commit is contained in:
parent
b9c21078c5
commit
9fb1624c5e
2 changed files with 1 additions and 4 deletions
|
@ -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.
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue