diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-03-27 11:21:57 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-03-27 11:21:57 +0000 |
commit | a4901fdcfd5ef056adc3b1999582e6322e911dbd (patch) | |
tree | 97c4920c8f89416795311429955d9801799a58bb /crates/ra_assists/src/lib.rs | |
parent | f9cf86475c042a41f2e3b59baf96b456e0ff521b (diff) | |
parent | 91e482b46d43a24cd0a48ea1119b93105140cff2 (diff) |
Merge #3742
3742: Replace if with if-let r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
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 becd5e99d..fa1f3dd26 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 replace_unwrap_with_match; | 123 | mod replace_unwrap_with_match; |
123 | mod split_import; | 124 | mod split_import; |
@@ -154,6 +155,7 @@ mod handlers { | |||
154 | remove_dbg::remove_dbg, | 155 | remove_dbg::remove_dbg, |
155 | remove_mut::remove_mut, | 156 | remove_mut::remove_mut, |
156 | replace_if_let_with_match::replace_if_let_with_match, | 157 | replace_if_let_with_match::replace_if_let_with_match, |
158 | replace_let_with_if_let::replace_let_with_if_let, | ||
157 | replace_qualified_name_with_use::replace_qualified_name_with_use, | 159 | replace_qualified_name_with_use::replace_qualified_name_with_use, |
158 | replace_unwrap_with_match::replace_unwrap_with_match, | 160 | replace_unwrap_with_match::replace_unwrap_with_match, |
159 | split_import::split_import, | 161 | split_import::split_import, |