diff options
Diffstat (limited to 'runtime/ops/net.rs')
-rw-r--r-- | runtime/ops/net.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/ops/net.rs b/runtime/ops/net.rs index 48431ef22..4c38d2293 100644 --- a/runtime/ops/net.rs +++ b/runtime/ops/net.rs @@ -353,9 +353,9 @@ async fn op_connect( } } -struct TcpListenerResource { - listener: AsyncRefCell<TcpListener>, - cancel: CancelHandle, +pub struct TcpListenerResource { + pub listener: AsyncRefCell<TcpListener>, + pub cancel: CancelHandle, } impl Resource for TcpListenerResource { |