mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
remove useless trait
This commit is contained in:
parent
4417a97bc5
commit
f377b94628
4 changed files with 8 additions and 11 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue