Skip to content

Commit 7fb993a

Browse files
committed
remove pair as not support
1 parent 155fc12 commit 7fb993a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

library/std/src/os/windows/net/stream.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@ impl UnixStream {
3232
SocketAddr::new(|addr, len| unsafe { getsockname(self.0.as_raw() as _, addr, len) })
3333
}
3434
#[stable(feature = "rust1", since = "1.0.0")]
35-
pub fn pair() -> io::Result<(Self, Self)> {
36-
unimplemented!()
37-
}
38-
#[stable(feature = "rust1", since = "1.0.0")]
3935
pub fn peer_addr(&self) -> io::Result<SocketAddr> {
4036
SocketAddr::new(|addr, len| unsafe { getpeername(self.0.as_raw() as _, addr, len) })
4137
}

0 commit comments

Comments
 (0)