diff --git a/helix-dap/src/client.rs b/helix-dap/src/client.rs index 43afc4c61..ed4f8ed50 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 e8543dcbf..dfc25b1bf 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 + pub args: HashMap, } #[derive(Debug, PartialEq, Clone, Deserialize, Serialize)]