This commit is contained in:
Dmitry Sharshakov 2021-08-24 12:01:58 +03:00
parent 774ab6f8b6
commit 0e779381a8
No known key found for this signature in database
GPG Key ID: 471FD32E15FD8473
2 changed files with 2 additions and 4 deletions

View File

@ -225,9 +225,7 @@ async fn request<R: crate::types::Request>(
}
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<()> {

View File

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