aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists/src/handlers/move_bounds.rs
diff options
context:
space:
mode:
authorkjeremy <[email protected]>2020-07-02 22:48:35 +0100
committerkjeremy <[email protected]>2020-07-02 22:48:35 +0100
commit36cc81ac71e4246bf58a3758735cc68f7adb5e0f (patch)
tree9d14ddf58d873049fa5efc79dbdb83ed165aec8b /crates/ra_assists/src/handlers/move_bounds.rs
parent1d58e168246e1ca64f3ce3936e90077922b82d05 (diff)
Move AssistKind into AssistId
Diffstat (limited to 'crates/ra_assists/src/handlers/move_bounds.rs')
-rw-r--r--crates/ra_assists/src/handlers/move_bounds.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/ra_assists/src/handlers/move_bounds.rs b/crates/ra_assists/src/handlers/move_bounds.rs
index bcedd39a8..ba3dafb99 100644
--- a/crates/ra_assists/src/handlers/move_bounds.rs
+++ b/crates/ra_assists/src/handlers/move_bounds.rs
@@ -51,8 +51,7 @@ pub(crate) fn move_bounds_to_where_clause(acc: &mut Assists, ctx: &AssistContext
51 51
52 let target = type_param_list.syntax().text_range(); 52 let target = type_param_list.syntax().text_range();
53 acc.add( 53 acc.add(
54 AssistId("move_bounds_to_where_clause"), 54 AssistId("move_bounds_to_where_clause", AssistKind::RefactorRewrite),
55 AssistKind::RefactorRewrite,
56 "Move to where clause", 55 "Move to where clause",
57 target, 56 target,
58 |edit| { 57 |edit| {