aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorkjeremy <[email protected]>2020-01-10 20:30:17 +0000
committerkjeremy <[email protected]>2020-01-10 20:30:17 +0000
commita633a6275ab823396f57b1e93d45e58d98f8d32f (patch)
treefc742b1b41c72f8016329a243f0f5302d57bad85 /crates
parent32540abcb3c22cbd62662a255fc59972e0c5a06b (diff)
Fix Write being sent down the wire.
Not sure what the deal is here but it wasn't sending Write.
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_lsp_server/src/conv.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_lsp_server/src/conv.rs b/crates/ra_lsp_server/src/conv.rs
index 1b93195d7..562699b7c 100644
--- a/crates/ra_lsp_server/src/conv.rs
+++ b/crates/ra_lsp_server/src/conv.rs
@@ -57,10 +57,10 @@ impl Conv for ReferenceAccess {
57 type Output = ::lsp_types::DocumentHighlightKind; 57 type Output = ::lsp_types::DocumentHighlightKind;
58 58
59 fn conv(self) -> Self::Output { 59 fn conv(self) -> Self::Output {
60 use lsp_types::DocumentHighlightKind::*; 60 use lsp_types::DocumentHighlightKind;
61 match self { 61 match self {
62 ReferenceAccess::Read => Read, 62 ReferenceAccess::Read => DocumentHighlightKind::Read,
63 ReferenceAccess::Write => Write, 63 ReferenceAccess::Write => DocumentHighlightKind::Write,
64 } 64 }
65 } 65 }
66} 66}