diff options
-rw-r--r-- | crates/rust-analyzer/src/from_proto.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/rust-analyzer/src/from_proto.rs b/crates/rust-analyzer/src/from_proto.rs index e2abfa3e0..9f8ce3b99 100644 --- a/crates/rust-analyzer/src/from_proto.rs +++ b/crates/rust-analyzer/src/from_proto.rs | |||
@@ -58,9 +58,9 @@ pub(crate) fn assist_kind(kind: lsp_types::CodeActionKind) -> Option<AssistKind> | |||
58 | k if k == &lsp_types::CodeActionKind::EMPTY => AssistKind::None, | 58 | k if k == &lsp_types::CodeActionKind::EMPTY => AssistKind::None, |
59 | k if k == &lsp_types::CodeActionKind::QUICKFIX => AssistKind::QuickFix, | 59 | k if k == &lsp_types::CodeActionKind::QUICKFIX => AssistKind::QuickFix, |
60 | k if k == &lsp_types::CodeActionKind::REFACTOR => AssistKind::Refactor, | 60 | k if k == &lsp_types::CodeActionKind::REFACTOR => AssistKind::Refactor, |
61 | k if k == &lsp_types::CodeActionKind::REFACTOR => AssistKind::RefactorExtract, | 61 | k if k == &lsp_types::CodeActionKind::REFACTOR_EXTRACT => AssistKind::RefactorExtract, |
62 | k if k == &lsp_types::CodeActionKind::REFACTOR => AssistKind::RefactorInline, | 62 | k if k == &lsp_types::CodeActionKind::REFACTOR_INLINE => AssistKind::RefactorInline, |
63 | k if k == &lsp_types::CodeActionKind::REFACTOR => AssistKind::RefactorRewrite, | 63 | k if k == &lsp_types::CodeActionKind::REFACTOR_REWRITE => AssistKind::RefactorRewrite, |
64 | _ => return None, | 64 | _ => return None, |
65 | }; | 65 | }; |
66 | 66 | ||