diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2022-04-27 02:13:46 +0300 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2022-04-27 02:13:46 +0300 |
commit | 90c203857abee5b4921da216a2316f326489f86f (patch) | |
tree | 715881df4cb9f838271d1b1feba869e0d3c1c0bb /generic/threadshare/src/runtime | |
parent | 5aa1b7cd3bc68f57d2d17d7a5a50a36c25040b0f (diff) |
threadshare: fix build on Windows
Diffstat (limited to 'generic/threadshare/src/runtime')
-rw-r--r-- | generic/threadshare/src/runtime/executor/async_wrapper.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/threadshare/src/runtime/executor/async_wrapper.rs b/generic/threadshare/src/runtime/executor/async_wrapper.rs index d542c950c..7d0c53dcc 100644 --- a/generic/threadshare/src/runtime/executor/async_wrapper.rs +++ b/generic/threadshare/src/runtime/executor/async_wrapper.rs @@ -179,7 +179,7 @@ impl<T: AsRawSocket> Async<T> { } } - let source = Reactor::with_mut(|reactor| reactor.insert_io(fd))?; + let source = Reactor::with_mut(|reactor| reactor.insert_io(sock))?; Ok(Async { source, io: Some(io), |