From 2bd8a9b39df795f68e74ccd48fcb2b2b50fc9313 Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Sun, 7 Nov 2021 21:18:53 +0900 Subject: dap: Consistently rename type as ty --- helix-dap/src/types.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'helix-dap/src') 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, #[serde(rename = "type")] - pub col_type: Option, + pub ty: Option, pub width: Option, } @@ -200,7 +200,7 @@ pub struct Variable { pub name: String, pub value: String, #[serde(rename = "type")] - pub data_type: Option, + pub ty: Option, pub presentation_hint: Option, pub evaluate_name: Option, pub variables_reference: usize, @@ -502,7 +502,7 @@ pub mod requests { pub struct EvaluateResponse { pub result: String, #[serde(rename = "type")] - pub data_type: Option, + pub ty: Option, pub presentation_hint: Option, pub variables_reference: usize, pub named_variables: Option, -- cgit v1.2.3-70-g09d2