aboutsummaryrefslogtreecommitdiff
path: root/helix-dap/src
diff options
context:
space:
mode:
authorDmitry Sharshakov2021-08-24 08:32:44 +0000
committerDmitry Sharshakov2021-08-24 08:32:44 +0000
commit34c6094604cfeca0c1338a20cf9e85bcd8d9b68b (patch)
tree14fdfd3df3619fde77619cde828670f973497ace /helix-dap/src
parent2158366b24da8229e743546ccedc5cd05292e254 (diff)
refactor
Diffstat (limited to 'helix-dap/src')
-rw-r--r--helix-dap/src/client.rs4
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<()> {