Skip to content

Commit

Permalink
Rename document field to shard
Browse files Browse the repository at this point in the history
  • Loading branch information
DrChat committed Sep 22, 2022
1 parent 151844d commit 9207667
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lsif.rs
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,7 @@ pub enum ItemKind {
#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Item {
#[serde(rename = "shard")]
pub document: Id,
pub shard: Id,
#[serde(skip_serializing_if = "Option::is_none")]
pub property: Option<ItemKind>,
#[serde(flatten)]
Expand Down

0 comments on commit 9207667

Please sign in to comment.