Drop needless trait

This commit is contained in:
Aleksey Kladov 2020-04-09 23:02:10 +02:00
parent e07d3c94de
commit 0ed27c388a
4 changed files with 20 additions and 28 deletions

View file

@ -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())