From 325912f01ea11ae2e16e01ffaa7ff71329ff1702 Mon Sep 17 00:00:00 2001 From: Jeremy Kolb Date: Tue, 14 Jan 2020 09:07:28 -0500 Subject: Tweak add_custom_impl --- crates/ra_assists/src/assists/add_custom_impl.rs | 5 ++++- crates/ra_lsp_server/src/main_loop/handlers.rs | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'crates') diff --git a/crates/ra_assists/src/assists/add_custom_impl.rs b/crates/ra_assists/src/assists/add_custom_impl.rs index 9b8955710..52e8c693d 100644 --- a/crates/ra_assists/src/assists/add_custom_impl.rs +++ b/crates/ra_assists/src/assists/add_custom_impl.rs @@ -49,7 +49,10 @@ pub(crate) fn add_custom_impl(ctx: AssistCtx) -> Option Some("refactor.extract.variable".to_string()), + AssistId("add_custom_impl") => Some("refactor.rewrite.add_custom_impl".to_string()), _ => None, }, diagnostics: None, -- cgit v1.2.3