aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-10-26 20:59:28 +0000
committerAleksey Kladov <[email protected]>2020-10-26 20:59:28 +0000
commitb2ccef60b4f947508326f114795cd2286dbc494f (patch)
tree20762abf87d2b6f6b132f00301673f5729c49443
parentd10e2a04c8a5ff157acd95bc7458d36d9f396390 (diff)
Better ordering of assists
-rw-r--r--crates/assists/src/lib.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/crates/assists/src/lib.rs b/crates/assists/src/lib.rs
index 70a651e10..b804e495d 100644
--- a/crates/assists/src/lib.rs
+++ b/crates/assists/src/lib.rs
@@ -200,7 +200,6 @@ mod handlers {
200 move_guard::move_guard_to_arm_body, 200 move_guard::move_guard_to_arm_body,
201 qualify_path::qualify_path, 201 qualify_path::qualify_path,
202 raw_string::add_hash, 202 raw_string::add_hash,
203 raw_string::make_raw_string,
204 raw_string::make_usual_string, 203 raw_string::make_usual_string,
205 raw_string::remove_hash, 204 raw_string::remove_hash,
206 remove_dbg::remove_dbg, 205 remove_dbg::remove_dbg,
@@ -211,13 +210,15 @@ mod handlers {
211 replace_impl_trait_with_generic::replace_impl_trait_with_generic, 210 replace_impl_trait_with_generic::replace_impl_trait_with_generic,
212 replace_let_with_if_let::replace_let_with_if_let, 211 replace_let_with_if_let::replace_let_with_if_let,
213 replace_qualified_name_with_use::replace_qualified_name_with_use, 212 replace_qualified_name_with_use::replace_qualified_name_with_use,
214 replace_string_with_char::replace_string_with_char,
215 replace_unwrap_with_match::replace_unwrap_with_match, 213 replace_unwrap_with_match::replace_unwrap_with_match,
216 split_import::split_import, 214 split_import::split_import,
217 unwrap_block::unwrap_block, 215 unwrap_block::unwrap_block,
218 // These are manually sorted for better priorities 216 // These are manually sorted for better priorities
219 add_missing_impl_members::add_missing_impl_members, 217 add_missing_impl_members::add_missing_impl_members,
220 add_missing_impl_members::add_missing_default_members, 218 add_missing_impl_members::add_missing_default_members,
219 //
220 replace_string_with_char::replace_string_with_char,
221 raw_string::make_raw_string,
221 // Are you sure you want to add new assist here, and not to the 222 // Are you sure you want to add new assist here, and not to the
222 // sorted list above? 223 // sorted list above?
223 ] 224 ]