diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-09-02 17:46:10 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2019-09-02 17:46:10 +0100 |
commit | a8397deab914240aca8f015fb3736689919c0a5b (patch) | |
tree | 0afdeb58c88c4d63426355e344f2b1a8fc46f613 /crates/ra_syntax/src/ast/traits.rs | |
parent | 8de2fb37c045a4f4fc6dd1f49bd3b0157182086c (diff) | |
parent | f377b94628a265cb5335fbe4594a47cc8ddc9e2c (diff) |
Merge #1751
1751: remove useless trait r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_syntax/src/ast/traits.rs')
-rw-r--r-- | crates/ra_syntax/src/ast/traits.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/crates/ra_syntax/src/ast/traits.rs b/crates/ra_syntax/src/ast/traits.rs index 1b9a2b20c..20c251fba 100644 --- a/crates/ra_syntax/src/ast/traits.rs +++ b/crates/ra_syntax/src/ast/traits.rs | |||
@@ -33,12 +33,6 @@ pub trait LoopBodyOwner: AstNode { | |||
33 | } | 33 | } |
34 | } | 34 | } |
35 | 35 | ||
36 | pub trait TryBlockBodyOwner: AstNode { | ||
37 | fn try_body(&self) -> Option<ast::Block> { | ||
38 | child_opt(self) | ||
39 | } | ||
40 | } | ||
41 | |||
42 | pub trait ArgListOwner: AstNode { | 36 | pub trait ArgListOwner: AstNode { |
43 | fn arg_list(&self) -> Option<ast::ArgList> { | 37 | fn arg_list(&self) -> Option<ast::ArgList> { |
44 | child_opt(self) | 38 | child_opt(self) |