From 34c6094604cfeca0c1338a20cf9e85bcd8d9b68b Mon Sep 17 00:00:00 2001 From: Dmitry Sharshakov Date: Tue, 24 Aug 2021 11:32:44 +0300 Subject: refactor --- helix-dap/src/client.rs | 4 +--- 1 file changed, 1 insertion(+), 3 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<()> { -- cgit v1.2.3-70-g09d2