diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-08-11 11:58:45 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-08-11 11:58:45 +0000 |
| commit | 6cae87ee5da4e137fa3990b81cdb53aeebc676e0 (patch) | |
| tree | f40b5b2def8c68e53bc2114af75a1941cb1c98a2 /embassy-net/src | |
| parent | 0e524247fa4adc524c546b0d073e7061ad6c1b83 (diff) | |
| parent | 0a98f9f48ef11f36bb1ed5c8adbe07611916ba0b (diff) | |
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 <[email protected]>
Diffstat (limited to 'embassy-net/src')
| -rw-r--r-- | embassy-net/src/tcp.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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> { | |||
| 181 | // ======================= | 181 | // ======================= |
| 182 | 182 | ||
| 183 | #[derive(Copy, Clone)] | 183 | #[derive(Copy, Clone)] |
| 184 | pub struct TcpIo<'a> { | 184 | struct TcpIo<'a> { |
| 185 | stack: &'a UnsafeCell<SocketStack>, | 185 | stack: &'a UnsafeCell<SocketStack>, |
| 186 | handle: SocketHandle, | 186 | handle: SocketHandle, |
| 187 | } | 187 | } |
