diff options
Diffstat (limited to 'crates/assists/src/lib.rs')
-rw-r--r-- | crates/assists/src/lib.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crates/assists/src/lib.rs b/crates/assists/src/lib.rs index af88b3437..e8d81b33d 100644 --- a/crates/assists/src/lib.rs +++ b/crates/assists/src/lib.rs | |||
@@ -120,13 +120,11 @@ mod handlers { | |||
120 | 120 | ||
121 | pub(crate) type Handler = fn(&mut Assists, &AssistContext) -> Option<()>; | 121 | pub(crate) type Handler = fn(&mut Assists, &AssistContext) -> Option<()>; |
122 | 122 | ||
123 | mod add_custom_impl; | ||
124 | mod add_explicit_type; | 123 | mod add_explicit_type; |
125 | mod add_missing_impl_members; | 124 | mod add_missing_impl_members; |
126 | mod add_turbo_fish; | 125 | mod add_turbo_fish; |
127 | mod apply_demorgan; | 126 | mod apply_demorgan; |
128 | mod auto_import; | 127 | mod auto_import; |
129 | mod change_return_type_to_result; | ||
130 | mod change_visibility; | 128 | mod change_visibility; |
131 | mod convert_integer_literal; | 129 | mod convert_integer_literal; |
132 | mod early_return; | 130 | mod early_return; |
@@ -157,6 +155,7 @@ mod handlers { | |||
157 | mod remove_mut; | 155 | mod remove_mut; |
158 | mod remove_unused_param; | 156 | mod remove_unused_param; |
159 | mod reorder_fields; | 157 | mod reorder_fields; |
158 | mod replace_derive_with_manual_impl; | ||
160 | mod replace_if_let_with_match; | 159 | mod replace_if_let_with_match; |
161 | mod replace_impl_trait_with_generic; | 160 | mod replace_impl_trait_with_generic; |
162 | mod replace_let_with_if_let; | 161 | mod replace_let_with_if_let; |
@@ -165,16 +164,15 @@ mod handlers { | |||
165 | mod replace_unwrap_with_match; | 164 | mod replace_unwrap_with_match; |
166 | mod split_import; | 165 | mod split_import; |
167 | mod unwrap_block; | 166 | mod unwrap_block; |
167 | mod wrap_return_type_in_result; | ||
168 | 168 | ||
169 | pub(crate) fn all() -> &'static [Handler] { | 169 | pub(crate) fn all() -> &'static [Handler] { |
170 | &[ | 170 | &[ |
171 | // These are alphabetic for the foolish consistency | 171 | // These are alphabetic for the foolish consistency |
172 | add_custom_impl::add_custom_impl, | ||
173 | add_explicit_type::add_explicit_type, | 172 | add_explicit_type::add_explicit_type, |
174 | add_turbo_fish::add_turbo_fish, | 173 | add_turbo_fish::add_turbo_fish, |
175 | apply_demorgan::apply_demorgan, | 174 | apply_demorgan::apply_demorgan, |
176 | auto_import::auto_import, | 175 | auto_import::auto_import, |
177 | change_return_type_to_result::change_return_type_to_result, | ||
178 | change_visibility::change_visibility, | 176 | change_visibility::change_visibility, |
179 | convert_integer_literal::convert_integer_literal, | 177 | convert_integer_literal::convert_integer_literal, |
180 | early_return::convert_to_guarded_return, | 178 | early_return::convert_to_guarded_return, |
@@ -208,6 +206,7 @@ mod handlers { | |||
208 | remove_mut::remove_mut, | 206 | remove_mut::remove_mut, |
209 | remove_unused_param::remove_unused_param, | 207 | remove_unused_param::remove_unused_param, |
210 | reorder_fields::reorder_fields, | 208 | reorder_fields::reorder_fields, |
209 | replace_derive_with_manual_impl::replace_derive_with_manual_impl, | ||
211 | replace_if_let_with_match::replace_if_let_with_match, | 210 | replace_if_let_with_match::replace_if_let_with_match, |
212 | replace_impl_trait_with_generic::replace_impl_trait_with_generic, | 211 | replace_impl_trait_with_generic::replace_impl_trait_with_generic, |
213 | replace_let_with_if_let::replace_let_with_if_let, | 212 | replace_let_with_if_let::replace_let_with_if_let, |
@@ -215,6 +214,7 @@ mod handlers { | |||
215 | replace_unwrap_with_match::replace_unwrap_with_match, | 214 | replace_unwrap_with_match::replace_unwrap_with_match, |
216 | split_import::split_import, | 215 | split_import::split_import, |
217 | unwrap_block::unwrap_block, | 216 | unwrap_block::unwrap_block, |
217 | wrap_return_type_in_result::wrap_return_type_in_result, | ||
218 | // These are manually sorted for better priorities | 218 | // These are manually sorted for better priorities |
219 | add_missing_impl_members::add_missing_impl_members, | 219 | add_missing_impl_members::add_missing_impl_members, |
220 | add_missing_impl_members::add_missing_default_members, | 220 | add_missing_impl_members::add_missing_default_members, |