Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide-assists/src/handlers/expand_glob_import.rs')
-rw-r--r--crates/ide-assists/src/handlers/expand_glob_import.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ide-assists/src/handlers/expand_glob_import.rs b/crates/ide-assists/src/handlers/expand_glob_import.rs
index fae5530f99..307414c797 100644
--- a/crates/ide-assists/src/handlers/expand_glob_import.rs
+++ b/crates/ide-assists/src/handlers/expand_glob_import.rs
@@ -13,7 +13,7 @@ use syntax::{
};
use crate::{
- AssistId, AssistKind,
+ AssistId,
assist_context::{AssistContext, Assists},
};
@@ -62,7 +62,7 @@ pub(crate) fn expand_glob_import(acc: &mut Assists, ctx: &AssistContext<'_>) ->
let target = parent.either(|n| n.syntax().clone(), |n| n.syntax().clone());
acc.add(
- AssistId("expand_glob_import", AssistKind::RefactorRewrite),
+ AssistId::refactor_rewrite("expand_glob_import"),
"Expand glob import",
target.text_range(),
|builder| {
@@ -123,7 +123,7 @@ pub(crate) fn expand_glob_reexport(acc: &mut Assists, ctx: &AssistContext<'_>) -
let target = parent.either(|n| n.syntax().clone(), |n| n.syntax().clone());
acc.add(
- AssistId("expand_glob_reexport", AssistKind::RefactorRewrite),
+ AssistId::refactor_rewrite("expand_glob_reexport"),
"Expand glob reexport",
target.text_range(),
|builder| {