pull/574/head
Dmitry Sharshakov 3 years ago
parent 774ab6f8b6
commit 0e779381a8
No known key found for this signature in database
GPG Key ID: 471FD32E15FD8473

@ -225,9 +225,7 @@ impl Client {
} }
pub fn capabilities(&self) -> &DebuggerCapabilities { pub fn capabilities(&self) -> &DebuggerCapabilities {
self.caps self.caps.as_ref().expect("debugger not yet initialized!")
.as_ref()
.expect("debugger not yet initialized!")
} }
pub async fn initialize(&mut self, adapter_id: String) -> Result<()> { pub async fn initialize(&mut self, adapter_id: String) -> Result<()> {

@ -7,7 +7,7 @@ use std::{collections::HashMap, path::PathBuf};
pub struct DebugTemplate { pub struct DebugTemplate {
pub name: String, pub name: String,
pub request: String, pub request: String,
pub args: HashMap<String, Value> pub args: HashMap<String, Value>,
} }
#[derive(Debug, PartialEq, Clone, Deserialize, Serialize)] #[derive(Debug, PartialEq, Clone, Deserialize, Serialize)]

Loading…
Cancel
Save