remove useless trait

This commit is contained in:
Aleksey Kladov 2019-09-02 19:45:41 +03:00
parent 4417a97bc5
commit f377b94628
4 changed files with 8 additions and 11 deletions

View file

@ -33,12 +33,6 @@ pub trait LoopBodyOwner: AstNode {
}
}
pub trait TryBlockBodyOwner: AstNode {
fn try_body(&self) -> Option<ast::Block> {
child_opt(self)
}
}
pub trait ArgListOwner: AstNode {
fn arg_list(&self) -> Option<ast::ArgList> {
child_opt(self)