diff options
author | Benjamin Coenen <[email protected]> | 2020-04-29 12:52:55 +0100 |
---|---|---|
committer | Benjamin Coenen <[email protected]> | 2020-04-29 13:08:30 +0100 |
commit | 76733f0cd456005295e60da8c45d74c8c48f177c (patch) | |
tree | c5fb8ad0429bb9ad4c749612225f776844b4d127 /crates/ra_syntax | |
parent | c3c7edb9bc3f2860686383dc1498c988a56859e8 (diff) |
Add unwrap block assist #4156
Signed-off-by: Benjamin Coenen <[email protected]>
Diffstat (limited to 'crates/ra_syntax')
-rw-r--r-- | crates/ra_syntax/src/ast/expr_extensions.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/ast/expr_extensions.rs b/crates/ra_syntax/src/ast/expr_extensions.rs index 93aa3d45f..1c1134bc5 100644 --- a/crates/ra_syntax/src/ast/expr_extensions.rs +++ b/crates/ra_syntax/src/ast/expr_extensions.rs | |||
@@ -43,7 +43,7 @@ impl ast::IfExpr { | |||
43 | Some(res) | 43 | Some(res) |
44 | } | 44 | } |
45 | 45 | ||
46 | fn blocks(&self) -> AstChildren<ast::BlockExpr> { | 46 | pub fn blocks(&self) -> AstChildren<ast::BlockExpr> { |
47 | support::children(self.syntax()) | 47 | support::children(self.syntax()) |
48 | } | 48 | } |
49 | } | 49 | } |