From 31b431bfdd7bebc437cb563dd0105bcb13ec3235 Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Sun, 7 Nov 2021 21:17:09 +0900 Subject: dap: Remove Deref for DebuggerCapabilities Looks like a mistake --- helix-dap/src/types.rs | 8 -------- 1 file changed, 8 deletions(-) (limited to 'helix-dap') diff --git a/helix-dap/src/types.rs b/helix-dap/src/types.rs index c2becf33..f9c56abd 100644 --- a/helix-dap/src/types.rs +++ b/helix-dap/src/types.rs @@ -84,14 +84,6 @@ pub struct DebuggerCapabilities { pub supported_checksum_algorithms: Option>, } -impl std::ops::Deref for DebuggerCapabilities { - type Target = Option; - - fn deref(&self) -> &Self::Target { - &self.supports_exception_options - } -} - #[derive(Debug, PartialEq, Clone, Deserialize, Serialize)] #[serde(rename_all = "camelCase")] pub struct Checksum { -- cgit v1.2.3-70-g09d2