diff options
-rw-r--r-- | helix-dap/src/client.rs | 4 | ||||
-rw-r--r-- | helix-dap/src/types.rs | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/helix-dap/src/client.rs b/helix-dap/src/client.rs index 43afc4c6..ed4f8ed5 100644 --- a/helix-dap/src/client.rs +++ b/helix-dap/src/client.rs @@ -225,9 +225,7 @@ impl Client { } pub fn capabilities(&self) -> &DebuggerCapabilities { - self.caps - .as_ref() - .expect("debugger not yet initialized!") + self.caps.as_ref().expect("debugger not yet initialized!") } pub async fn initialize(&mut self, adapter_id: String) -> Result<()> { diff --git a/helix-dap/src/types.rs b/helix-dap/src/types.rs index e8543dcb..dfc25b1b 100644 --- a/helix-dap/src/types.rs +++ b/helix-dap/src/types.rs @@ -7,7 +7,7 @@ use std::{collections::HashMap, path::PathBuf}; pub struct DebugTemplate { pub name: String, pub request: String, - pub args: HashMap<String, Value> + pub args: HashMap<String, Value>, } #[derive(Debug, PartialEq, Clone, Deserialize, Serialize)] |