remove unused code
This commit is contained in:
parent
f044305626
commit
5ec9bbaf38
1 changed files with 0 additions and 6 deletions
|
@ -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>) {
|
||||||
|
|
Loading…
Reference in a new issue