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:
Dario Nieuwenhuis 2022-08-11 13:58:13 +02:00 committed by GitHub
parent 0e524247fa
commit 0a98f9f48e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,
}