mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Drop needless trait
This commit is contained in:
parent
e07d3c94de
commit
0ed27c388a
4 changed files with 20 additions and 28 deletions
|
@ -43,12 +43,6 @@ pub trait ArgListOwner: AstNode {
|
|||
}
|
||||
}
|
||||
|
||||
pub trait FnDefOwner: AstNode {
|
||||
fn functions(&self) -> AstChildren<ast::FnDef> {
|
||||
support::children(self.syntax())
|
||||
}
|
||||
}
|
||||
|
||||
pub trait ModuleItemOwner: AstNode {
|
||||
fn items(&self) -> AstChildren<ast::ModuleItem> {
|
||||
support::children(self.syntax())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue