diff options
author | Dmitry Sharshakov | 2021-08-23 17:22:21 +0000 |
---|---|---|
committer | Dmitry Sharshakov | 2021-08-23 17:22:21 +0000 |
commit | b5b79e3656c0ef3335955f422187c627aeb5c3e5 (patch) | |
tree | a7b8d4736dc42f1a98d66a2919a5aeda33724a1c /helix-dap/src | |
parent | e529f4eb21abba390e0e75d09514e9780a1151cf (diff) |
types: make some fields optional as in spec
Diffstat (limited to 'helix-dap/src')
-rw-r--r-- | helix-dap/src/types.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-dap/src/types.rs b/helix-dap/src/types.rs index fde3cd80..2f1d3a31 100644 --- a/helix-dap/src/types.rs +++ b/helix-dap/src/types.rs @@ -634,14 +634,14 @@ pub mod events { pub name: String, pub system_process_id: Option<usize>, pub is_local_process: Option<bool>, - pub start_method: String, // TODO: use enum + pub start_method: Option<String>, // TODO: use enum pub pointer_size: Option<usize>, } #[derive(Debug, PartialEq, Clone, Deserialize, Serialize)] #[serde(rename_all = "camelCase")] pub struct Capabilities { - pub module: super::DebuggerCapabilities, + pub capabilities: super::DebuggerCapabilities, } // #[derive(Debug, PartialEq, Clone, Deserialize, Serialize)] |