Format
commit0e779381a86ad6d790f3664e1d1506d01f9ba1f3
authorDmitry Sharshakov <d3dx12.xx@gmail.com>
dateTue 24 Aug 2021, 12:01 (5 years ago)
parent774ab6f
helix-dap/src/client.rs+1−3
@@ -225,9 +225,7 @@ impl Client {
225225 }
226226
227227 pub fn capabilities(&self) -> &DebuggerCapabilities {
228− self.caps
229− .as_ref()
230− .expect("debugger not yet initialized!")
228+ self.caps.as_ref().expect("debugger not yet initialized!")
231229 }
232230
233231 pub async fn initialize(&mut self, adapter_id: String) -> Result<()> {
helix-dap/src/types.rs+1−1
@@ -7,7 +7,7 @@ use std::{collections::HashMap, path::PathBuf};
77pub struct DebugTemplate {
88 pub name: String,
99 pub request: String,
10− pub args: HashMap<String, Value>
10+ pub args: HashMap<String, Value>,
1111}
1212
1313#[derive(Debug, PartialEq, Clone, Deserialize, Serialize)]