dap: Remove Deref for DebuggerCapabilities

Looks like a mistake
This commit is contained in:
Blaž Hrastnik 2021-11-07 21:17:09 +09:00
parent 9dd17c46a2
commit 31b431bfdd

View File

@ -84,14 +84,6 @@ pub struct DebuggerCapabilities {
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)]
#[serde(rename_all = "camelCase")]
pub struct Checksum {