Merge #900
900: net: make TcpIo private. r=Dirbaio a=Dirbaio It's just an implementation detail to share code between Socket, Reader, Writer. It wasn't supposed to be public. Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
This commit is contained in:
commit
6cae87ee5d
@ -181,7 +181,7 @@ impl<'a> Drop for TcpSocket<'a> {
|
||||
// =======================
|
||||
|
||||
#[derive(Copy, Clone)]
|
||||
pub struct TcpIo<'a> {
|
||||
struct TcpIo<'a> {
|
||||
stack: &'a UnsafeCell<SocketStack>,
|
||||
handle: SocketHandle,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user