diff options
author | Yerkebulan Tulibergenov <[email protected]> | 2019-01-14 02:12:01 +0000 |
---|---|---|
committer | Yerkebulan Tulibergenov <[email protected]> | 2019-01-14 02:12:01 +0000 |
commit | 1538ca3ae5d99c93c1098261bdd0fdd30f67a278 (patch) | |
tree | ce6514283897c13026d6d8b19ae918065d504ad0 | |
parent | a996b66cc65741d51270f4ebf97c5fc35e957f17 (diff) |
we don't need to write var_name after block expr?
-rw-r--r-- | crates/ra_ide_api_light/src/assists/introduce_variable.rs | 1 |
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 | " |
154 | fn foo() { | 154 | fn 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 | ); |