remove unused code

This commit is contained in:
Σrebe - Romain GERARD 2023-10-26 19:43:52 +02:00
parent f044305626
commit 5ec9bbaf38
No known key found for this signature in database
GPG key ID: 7A42B4B97E0332F4

View file

@ -67,12 +67,6 @@ pub struct UdpStream {
keys_to_delete: Weak<RwLock<Vec<SocketAddr>>>, keys_to_delete: Weak<RwLock<Vec<SocketAddr>>>,
} }
impl AsMut<DuplexStream> for UdpStream {
fn as_mut(&mut self) -> &mut DuplexStream {
&mut self.io
}
}
#[pinned_drop] #[pinned_drop]
impl PinnedDrop for UdpStream { impl PinnedDrop for UdpStream {
fn drop(self: Pin<&mut Self>) { fn drop(self: Pin<&mut Self>) {