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:
bors[bot]
2022-08-11 11:58:45 +00:00
committed by GitHub

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