Recategorize a few

This commit is contained in:
kjeremy 2020-07-02 17:14:15 -04:00
parent 5b9257561f
commit 1d58e16824
3 changed files with 3 additions and 3 deletions

View file

@ -105,7 +105,7 @@ pub(crate) fn fill_match_arms(acc: &mut Assists, ctx: &AssistContext) -> Option<
let target = match_expr.syntax().text_range();
acc.add(
AssistId("fill_match_arms"),
AssistKind::RefactorRewrite,
AssistKind::QuickFix,
"Fill match arms",
target,
|builder| {

View file

@ -42,7 +42,7 @@ pub(crate) fn move_guard_to_arm_body(acc: &mut Assists, ctx: &AssistContext) ->
let target = guard.syntax().text_range();
acc.add(
AssistId("move_guard_to_arm_body"),
AssistKind::RefactorExtract,
AssistKind::RefactorRewrite,
"Move guard to arm body",
target,
|edit| {

View file

@ -28,7 +28,7 @@ pub(crate) fn split_import(acc: &mut Assists, ctx: &AssistContext) -> Option<()>
}
let target = colon_colon.text_range();
acc.add(AssistId("split_import"), AssistKind::RefactorExtract, "Split import", target, |edit| {
acc.add(AssistId("split_import"), AssistKind::RefactorRewrite, "Split import", target, |edit| {
edit.replace_ast(use_tree, new_tree);
})
}