Skip to content

Commit 486cd2e

Browse files
committed
fix LocationLink to match the real world
see microsoft/vscode-languageserver-node@d3de1f8#r31927588
1 parent f4b2eb9 commit 486cd2e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,7 @@ pub struct LocationLink {
134134
pub target_range: Range,
135135

136136
/// The span of this link.
137-
#[serde(skip_serializing_if = "Option::is_none")]
138-
pub target_selection_range: Option<Range>
137+
pub target_selection_range: Range,
139138
}
140139

141140
/// Represents a diagnostic, such as a compiler error or warning.

0 commit comments

Comments
 (0)