6378: Better ordering of assists r=matklad a=matklad

bors r+
🤖

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
bors[bot] 2020-10-26 21:06:15 +00:00 committed by GitHub
commit db2c379bae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -200,7 +200,6 @@ pub(crate) fn all() -> &'static [Handler] {
move_guard::move_guard_to_arm_body,
qualify_path::qualify_path,
raw_string::add_hash,
raw_string::make_raw_string,
raw_string::make_usual_string,
raw_string::remove_hash,
remove_dbg::remove_dbg,
@ -211,13 +210,15 @@ pub(crate) fn all() -> &'static [Handler] {
replace_impl_trait_with_generic::replace_impl_trait_with_generic,
replace_let_with_if_let::replace_let_with_if_let,
replace_qualified_name_with_use::replace_qualified_name_with_use,
replace_string_with_char::replace_string_with_char,
replace_unwrap_with_match::replace_unwrap_with_match,
split_import::split_import,
unwrap_block::unwrap_block,
// These are manually sorted for better priorities
add_missing_impl_members::add_missing_impl_members,
add_missing_impl_members::add_missing_default_members,
//
replace_string_with_char::replace_string_with_char,
raw_string::make_raw_string,
// Are you sure you want to add new assist here, and not to the
// sorted list above?
]