Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-lsp-types/src/code_action.rs')
-rw-r--r--helix-lsp-types/src/code_action.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/helix-lsp-types/src/code_action.rs b/helix-lsp-types/src/code_action.rs
index eed0e33e..93633c2d 100644
--- a/helix-lsp-types/src/code_action.rs
+++ b/helix-lsp-types/src/code_action.rs
@@ -6,7 +6,7 @@ use serde::{Deserialize, Serialize};
use serde_json::Value;
-use std::borrow::Cow;
+use std::{borrow::Cow, ops::DerefPure};
#[derive(Debug, Eq, PartialEq, Clone, Deserialize, Serialize)]
#[serde(untagged)]
pub enum CodeActionProviderCapability {
@@ -159,6 +159,7 @@ impl std::ops::Deref for CodeActionKind {
self.as_str()
}
}
+unsafe impl DerefPure for CodeActionKind {}
impl CodeActionKind {
/// Empty kind.