From 0a98f9f48ef11f36bb1ed5c8adbe07611916ba0b Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Thu, 11 Aug 2022 13:58:13 +0200 Subject: [PATCH] net: make TcpIo private. It's just an implementation detail to share code between Socket, Reader, Writer. It wasn't supposed to be public. --- embassy-net/src/tcp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embassy-net/src/tcp.rs b/embassy-net/src/tcp.rs index 2e276ecd3..910772c7d 100644 --- a/embassy-net/src/tcp.rs +++ b/embassy-net/src/tcp.rs @@ -181,7 +181,7 @@ impl<'a> Drop for TcpSocket<'a> { // ======================= #[derive(Copy, Clone)] -pub struct TcpIo<'a> { +struct TcpIo<'a> { stack: &'a UnsafeCell, handle: SocketHandle, }