net: make TcpIo private.
It's just an implementation detail to share code between Socket, Reader, Writer. It wasn't supposed to be public.
This commit is contained in:
parent
0e524247fa
commit
0a98f9f48e
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue