on master help sign in
dap: Remove Deref for DebuggerCapabilities
31b431bBlaž Hrastnik
helix-dap/src/types.rs−8
@@ -84,14 +84,6 @@ pub struct DebuggerCapabilities {
84 pub supported_checksum_algorithms: Option<Vec<String>>,
84 pub supported_checksum_algorithms: Option<Vec<String>>,
85}
85}
86
86
87−impl std::ops::Deref for DebuggerCapabilities {
88− type Target = Option<bool>;
89−
90− fn deref(&self) -> &Self::Target {
91− &self.supports_exception_options
92− }
93−}
94−
95#[derive(Debug, PartialEq, Clone, Deserialize, Serialize)]
87#[derive(Debug, PartialEq, Clone, Deserialize, Serialize)]
96#[serde(rename_all = "camelCase")]
88#[serde(rename_all = "camelCase")]
97pub struct Checksum {
89pub struct Checksum {