Skip to content

Commit b2ccef6

Browse files
committed
Better ordering of assists
1 parent d10e2a0 commit b2ccef6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

crates/assists/src/lib.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@ mod handlers {
200200
move_guard::move_guard_to_arm_body,
201201
qualify_path::qualify_path,
202202
raw_string::add_hash,
203-
raw_string::make_raw_string,
204203
raw_string::make_usual_string,
205204
raw_string::remove_hash,
206205
remove_dbg::remove_dbg,
@@ -211,13 +210,15 @@ mod handlers {
211210
replace_impl_trait_with_generic::replace_impl_trait_with_generic,
212211
replace_let_with_if_let::replace_let_with_if_let,
213212
replace_qualified_name_with_use::replace_qualified_name_with_use,
214-
replace_string_with_char::replace_string_with_char,
215213
replace_unwrap_with_match::replace_unwrap_with_match,
216214
split_import::split_import,
217215
unwrap_block::unwrap_block,
218216
// These are manually sorted for better priorities
219217
add_missing_impl_members::add_missing_impl_members,
220218
add_missing_impl_members::add_missing_default_members,
219+
//
220+
replace_string_with_char::replace_string_with_char,
221+
raw_string::make_raw_string,
221222
// Are you sure you want to add new assist here, and not to the
222223
// sorted list above?
223224
]

0 commit comments

Comments
 (0)