update mod order to adapt alphabetically sorted

This commit is contained in:
Young-Flash 2023-10-13 00:09:13 +08:00
parent 506b1e515b
commit 5bbca22720

View File

@ -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 @@ pub(crate) fn all() -> &'static [Handler] {
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 @@ pub(crate) fn all() -> &'static [Handler] {
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