Skip to content

Commit a633a62

Browse files
committed
Fix Write being sent down the wire.
Not sure what the deal is here but it wasn't sending Write.
1 parent 32540ab commit a633a62

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/ra_lsp_server/src/conv.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ impl Conv for ReferenceAccess {
5757
type Output = ::lsp_types::DocumentHighlightKind;
5858

5959
fn conv(self) -> Self::Output {
60-
use lsp_types::DocumentHighlightKind::*;
60+
use lsp_types::DocumentHighlightKind;
6161
match self {
62-
ReferenceAccess::Read => Read,
63-
ReferenceAccess::Write => Write,
62+
ReferenceAccess::Read => DocumentHighlightKind::Read,
63+
ReferenceAccess::Write => DocumentHighlightKind::Write,
6464
}
6565
}
6666
}

0 commit comments

Comments
 (0)