From 0e779381a86ad6d790f3664e1d1506d01f9ba1f3 Mon Sep 17 00:00:00 2001 From: Dmitry Sharshakov Date: Tue, 24 Aug 2021 12:01:58 +0300 Subject: Format --- helix-dap/src/client.rs | 4 +--- helix-dap/src/types.rs | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'helix-dap/src') 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 + pub args: HashMap, } #[derive(Debug, PartialEq, Clone, Deserialize, Serialize)] -- cgit v1.2.3-70-g09d2