From 31b431bfdd7bebc437cb563dd0105bcb13ec3235 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= Date: Sun, 7 Nov 2021 21:17:09 +0900 Subject: [PATCH] dap: Remove Deref for DebuggerCapabilities Looks like a mistake --- helix-dap/src/types.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/helix-dap/src/types.rs b/helix-dap/src/types.rs index c2becf33a..f9c56abdb 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 {