dap: Remove Deref for DebuggerCapabilities

Looks like a mistake
pull/574/head
Blaž Hrastnik 3 years ago
parent 9dd17c46a2
commit 31b431bfdd

@ -84,14 +84,6 @@ pub struct DebuggerCapabilities {
pub supported_checksum_algorithms: Option<Vec<String>>, pub supported_checksum_algorithms: Option<Vec<String>>,
} }
impl std::ops::Deref for DebuggerCapabilities {
type Target = Option<bool>;
fn deref(&self) -> &Self::Target {
&self.supports_exception_options
}
}
#[derive(Debug, PartialEq, Clone, Deserialize, Serialize)] #[derive(Debug, PartialEq, Clone, Deserialize, Serialize)]
#[serde(rename_all = "camelCase")] #[serde(rename_all = "camelCase")]
pub struct Checksum { pub struct Checksum {

Loading…
Cancel
Save