diff options
author | Blaž Hrastnik | 2021-11-07 12:18:53 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-11-07 12:18:53 +0000 |
commit | 2bd8a9b39df795f68e74ccd48fcb2b2b50fc9313 (patch) | |
tree | 7e29612d8971025f9f3ee4cf291da4dd5de9fdfb /helix-dap | |
parent | 31b431bfdd7bebc437cb563dd0105bcb13ec3235 (diff) |
dap: Consistently rename type as ty
Diffstat (limited to 'helix-dap')
-rw-r--r-- | helix-dap/src/types.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/helix-dap/src/types.rs b/helix-dap/src/types.rs index f9c56abd..453fa558 100644 --- a/helix-dap/src/types.rs +++ b/helix-dap/src/types.rs @@ -26,7 +26,7 @@ pub struct ColumnDescriptor { pub label: String, pub format: Option<String>, #[serde(rename = "type")] - pub col_type: Option<String>, + pub ty: Option<String>, pub width: Option<usize>, } @@ -200,7 +200,7 @@ pub struct Variable { pub name: String, pub value: String, #[serde(rename = "type")] - pub data_type: Option<String>, + pub ty: Option<String>, pub presentation_hint: Option<VariablePresentationHint>, pub evaluate_name: Option<String>, pub variables_reference: usize, @@ -502,7 +502,7 @@ pub mod requests { pub struct EvaluateResponse { pub result: String, #[serde(rename = "type")] - pub data_type: Option<String>, + pub ty: Option<String>, pub presentation_hint: Option<VariablePresentationHint>, pub variables_reference: usize, pub named_variables: Option<usize>, |