mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +00:00
fix build
This commit is contained in:
committed by
Aiden McClelland
parent
a7f5124dfe
commit
cb4e12a68c
@@ -158,7 +158,7 @@ impl hyper::server::accept::Accept for TcpListeners {
|
||||
for listener in self.listeners.iter() {
|
||||
let poll = listener.poll_accept(cx);
|
||||
if poll.is_ready() {
|
||||
return poll.map(Some);
|
||||
return poll.map(|a| a.map(|a| a.0)).map(Some);
|
||||
}
|
||||
}
|
||||
std::task::Poll::Pending
|
||||
|
||||
Reference in New Issue
Block a user