Skip to content

Commit

Permalink
fix LocationLink to match the real world
Browse files Browse the repository at this point in the history
  • Loading branch information
matklad committed Jan 14, 2019
1 parent f4b2eb9 commit 486cd2e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,7 @@ pub struct LocationLink {
pub target_range: Range,

/// The span of this link.
#[serde(skip_serializing_if = "Option::is_none")]
pub target_selection_range: Option<Range>
pub target_selection_range: Range,
}

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

0 comments on commit 486cd2e

Please sign in to comment.