diff options
author | Aleksey Kladov <[email protected]> | 2020-03-27 11:12:17 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-03-27 11:15:46 +0000 |
commit | 91e482b46d43a24cd0a48ea1119b93105140cff2 (patch) | |
tree | 3fd91a247ca1a9297884139d135aca4763d02da8 /crates/ra_assists/src/lib.rs | |
parent | cbb53cf55ca350bbcada5fc759b0119d932e879d (diff) |
Replace if with if-let
Diffstat (limited to 'crates/ra_assists/src/lib.rs')
-rw-r--r-- | crates/ra_assists/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/ra_assists/src/lib.rs b/crates/ra_assists/src/lib.rs index bcc9b3f10..67a58fc1f 100644 --- a/crates/ra_assists/src/lib.rs +++ b/crates/ra_assists/src/lib.rs | |||
@@ -118,6 +118,7 @@ mod handlers { | |||
118 | mod remove_dbg; | 118 | mod remove_dbg; |
119 | mod remove_mut; | 119 | mod remove_mut; |
120 | mod replace_if_let_with_match; | 120 | mod replace_if_let_with_match; |
121 | mod replace_let_with_if_let; | ||
121 | mod replace_qualified_name_with_use; | 122 | mod replace_qualified_name_with_use; |
122 | mod split_import; | 123 | mod split_import; |
123 | 124 | ||
@@ -153,6 +154,7 @@ mod handlers { | |||
153 | remove_dbg::remove_dbg, | 154 | remove_dbg::remove_dbg, |
154 | remove_mut::remove_mut, | 155 | remove_mut::remove_mut, |
155 | replace_if_let_with_match::replace_if_let_with_match, | 156 | replace_if_let_with_match::replace_if_let_with_match, |
157 | replace_let_with_if_let::replace_let_with_if_let, | ||
156 | replace_qualified_name_with_use::replace_qualified_name_with_use, | 158 | replace_qualified_name_with_use::replace_qualified_name_with_use, |
157 | split_import::split_import, | 159 | split_import::split_import, |
158 | ] | 160 | ] |