diff options
| author | Laurențiu Nicola <lnicola@dend.ro> | 2023-03-20 08:31:01 +0200 |
|---|---|---|
| committer | Laurențiu Nicola <lnicola@dend.ro> | 2023-03-20 08:31:01 +0200 |
| commit | dbf04a5ee29101afbd1db665369bb1d21224efb5 (patch) | |
| tree | 7e3c862b526a3f7305549fb2a2e34dcbb38bb3a9 /crates/syntax/src/ast/node_ext.rs | |
| parent | 544b4cfe4de2119807eb4d874c2cf095c5587bc4 (diff) | |
| download | rust-dbf04a5ee29101afbd1db665369bb1d21224efb5.tar.gz rust-dbf04a5ee29101afbd1db665369bb1d21224efb5.zip | |
:arrow_up: rust-analyzer
Diffstat (limited to 'crates/syntax/src/ast/node_ext.rs')
| -rw-r--r-- | crates/syntax/src/ast/node_ext.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/crates/syntax/src/ast/node_ext.rs b/crates/syntax/src/ast/node_ext.rs index 15bd5ab3c72..3308077da5b 100644 --- a/crates/syntax/src/ast/node_ext.rs +++ b/crates/syntax/src/ast/node_ext.rs @@ -937,12 +937,6 @@ impl From<ast::Adt> for ast::Item { } } -impl ast::IfExpr { - pub fn condition(&self) -> Option<ast::Expr> { - support::child(&self.syntax) - } -} - impl ast::MatchGuard { pub fn condition(&self) -> Option<ast::Expr> { support::child(&self.syntax) |
