diff options
author | Dmitry Sharshakov | 2021-08-24 08:32:44 +0000 |
---|---|---|
committer | Dmitry Sharshakov | 2021-08-24 08:32:44 +0000 |
commit | 34c6094604cfeca0c1338a20cf9e85bcd8d9b68b (patch) | |
tree | 14fdfd3df3619fde77619cde828670f973497ace /helix-dap | |
parent | 2158366b24da8229e743546ccedc5cd05292e254 (diff) |
refactor
Diffstat (limited to 'helix-dap')
-rw-r--r-- | helix-dap/src/client.rs | 4 |
1 files changed, 1 insertions, 3 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<()> { |