about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYoung-Flash <871946895@qq.com>2023-10-13 00:09:13 +0800
committerYoung-Flash <871946895@qq.com>2023-10-13 00:09:13 +0800
commit5bbca22720508798d4eda888d8c91f58d29e1f34 (patch)
tree6d1491940a2522308cf44d1d8ea86873aefb2bd4
parent506b1e515b7c9f834d9fd2523f57f9a3221af42f (diff)
update mod order to adapt alphabetically sorted
-rw-r--r--crates/ide-assists/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ide-assists/src/lib.rs b/crates/ide-assists/src/lib.rs
index a8adedc1273..d2b291631c8 100644
--- a/crates/ide-assists/src/lib.rs
+++ b/crates/ide-assists/src/lib.rs
@@ -195,6 +195,7 @@ mod handlers {
     mod replace_try_expr_with_match;
     mod replace_derive_with_manual_impl;
     mod replace_if_let_with_match;
+    mod replace_is_method_with_if_let_method;
     mod replace_method_eager_lazy;
     mod replace_arith_op;
     mod introduce_named_generic;
@@ -213,7 +214,6 @@ mod handlers {
     mod unwrap_block;
     mod unwrap_result_return_type;
     mod unqualify_method_call;
-    mod replace_is_method_with_if_let_method;
     mod wrap_return_type_in_result;
     mod into_to_qualified_from;
 
@@ -314,6 +314,7 @@ mod handlers {
             replace_derive_with_manual_impl::replace_derive_with_manual_impl,
             replace_if_let_with_match::replace_if_let_with_match,
             replace_if_let_with_match::replace_match_with_if_let,
+            replace_is_method_with_if_let_method::replace_is_method_with_if_let_method,
             replace_let_with_if_let::replace_let_with_if_let,
             replace_method_eager_lazy::replace_with_eager_method,
             replace_method_eager_lazy::replace_with_lazy_method,
@@ -333,7 +334,6 @@ mod handlers {
             unwrap_result_return_type::unwrap_result_return_type,
             unwrap_tuple::unwrap_tuple,
             unqualify_method_call::unqualify_method_call,
-            replace_is_method_with_if_let_method::replace_is_method_with_if_let_method,
             wrap_return_type_in_result::wrap_return_type_in_result,
             // These are manually sorted for better priorities. By default,
             // priority is determined by the size of the target range (smaller