Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide-assists/src/handlers/move_bounds.rs')
-rw-r--r--crates/ide-assists/src/handlers/move_bounds.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ide-assists/src/handlers/move_bounds.rs b/crates/ide-assists/src/handlers/move_bounds.rs
index 35571ed834..7e8735bd7a 100644
--- a/crates/ide-assists/src/handlers/move_bounds.rs
+++ b/crates/ide-assists/src/handlers/move_bounds.rs
@@ -7,7 +7,7 @@ use syntax::{
match_ast,
};
-use crate::{AssistContext, AssistId, AssistKind, Assists};
+use crate::{AssistContext, AssistId, Assists};
// Assist: move_bounds_to_where_clause
//
@@ -42,7 +42,7 @@ pub(crate) fn move_bounds_to_where_clause(
let target = type_param_list.syntax().text_range();
acc.add(
- AssistId("move_bounds_to_where_clause", AssistKind::RefactorRewrite),
+ AssistId::refactor_rewrite("move_bounds_to_where_clause"),
"Move to where clause",
target,
|edit| {