From 5ec9bbaf389a6ece10907f0fcb7cf033893ace4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=A3rebe=20-=20Romain=20GERARD?= Date: Thu, 26 Oct 2023 19:43:52 +0200 Subject: [PATCH] remove unused code --- src/udp.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/udp.rs b/src/udp.rs index 6ff7416..b5945cc 100644 --- a/src/udp.rs +++ b/src/udp.rs @@ -67,12 +67,6 @@ pub struct UdpStream { keys_to_delete: Weak>>, } -impl AsMut for UdpStream { - fn as_mut(&mut self) -> &mut DuplexStream { - &mut self.io - } -} - #[pinned_drop] impl PinnedDrop for UdpStream { fn drop(self: Pin<&mut Self>) {