aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists/src/handlers/unwrap_block.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_assists/src/handlers/unwrap_block.rs')
-rw-r--r--crates/ra_assists/src/handlers/unwrap_block.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_assists/src/handlers/unwrap_block.rs b/crates/ra_assists/src/handlers/unwrap_block.rs
index b98601f1c..35d87bc9e 100644
--- a/crates/ra_assists/src/handlers/unwrap_block.rs
+++ b/crates/ra_assists/src/handlers/unwrap_block.rs
@@ -6,7 +6,7 @@ use ra_syntax::{ast, AstNode};
6 6
7// Assist: unwrap_block 7// Assist: unwrap_block
8// 8//
9// Removes the `mut` keyword. 9// This assist removes if...else, for, while and loop control statements to just keep the body.
10// 10//
11// ``` 11// ```
12// fn foo() { 12// fn foo() {
@@ -18,7 +18,7 @@ use ra_syntax::{ast, AstNode};
18// -> 18// ->
19// ``` 19// ```
20// fn foo() { 20// fn foo() {
21// <|>println!("foo"); 21// println!("foo");
22// } 22// }
23// ``` 23// ```
24pub(crate) fn unwrap_block(ctx: AssistCtx) -> Option<Assist> { 24pub(crate) fn unwrap_block(ctx: AssistCtx) -> Option<Assist> {