mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-16 09:48:10 +00:00
Fix Write being sent down the wire.
Not sure what the deal is here but it wasn't sending Write.
This commit is contained in:
parent
32540abcb3
commit
a633a6275a
1 changed files with 3 additions and 3 deletions
|
@ -57,10 +57,10 @@ impl Conv for ReferenceAccess {
|
||||||
type Output = ::lsp_types::DocumentHighlightKind;
|
type Output = ::lsp_types::DocumentHighlightKind;
|
||||||
|
|
||||||
fn conv(self) -> Self::Output {
|
fn conv(self) -> Self::Output {
|
||||||
use lsp_types::DocumentHighlightKind::*;
|
use lsp_types::DocumentHighlightKind;
|
||||||
match self {
|
match self {
|
||||||
ReferenceAccess::Read => Read,
|
ReferenceAccess::Read => DocumentHighlightKind::Read,
|
||||||
ReferenceAccess::Write => Write,
|
ReferenceAccess::Write => DocumentHighlightKind::Write,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue