aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api_light/src/assists
diff options
context:
space:
mode:
authorYerkebulan Tulibergenov <[email protected]>2019-01-14 02:12:01 +0000
committerYerkebulan Tulibergenov <[email protected]>2019-01-14 02:12:01 +0000
commit1538ca3ae5d99c93c1098261bdd0fdd30f67a278 (patch)
treece6514283897c13026d6d8b19ae918065d504ad0 /crates/ra_ide_api_light/src/assists
parenta996b66cc65741d51270f4ebf97c5fc35e957f17 (diff)
we don't need to write var_name after block expr?
Diffstat (limited to 'crates/ra_ide_api_light/src/assists')
-rw-r--r--crates/ra_ide_api_light/src/assists/introduce_variable.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/ra_ide_api_light/src/assists/introduce_variable.rs b/crates/ra_ide_api_light/src/assists/introduce_variable.rs
index d5b7487e0..310c16960 100644
--- a/crates/ra_ide_api_light/src/assists/introduce_variable.rs
+++ b/crates/ra_ide_api_light/src/assists/introduce_variable.rs
@@ -153,7 +153,6 @@ fn foo() {
153 " 153 "
154fn foo() { 154fn foo() {
155 let <|>var_name = { let x = 0; x }; 155 let <|>var_name = { let x = 0; x };
156 var_name
157 something_else(); 156 something_else();
158}", 157}",
159 ); 158 );