rtcompat: remove an unused conversion function.

This commit is contained in:
Nick Mathewson 2021-04-19 10:28:41 -04:00
parent fe22c329c6
commit ec6dc417b9
1 changed files with 0 additions and 5 deletions

View File

@ -36,11 +36,6 @@ mod net {
TcpStream { s }
}
}
impl From<TcpStream> for TokioTcpStream {
fn from(s: TcpStream) -> TokioTcpStream {
s.s.into_inner()
}
}
impl AsyncRead for TcpStream {
fn poll_read(
self: Pin<&mut Self>,