Fix compile
This commit is contained in:
parent
4c1b9730f8
commit
300f955d70
2 changed files with 4 additions and 4 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -84,7 +84,7 @@ checksum = "e280fbe77cc62c91527259e9442153f4688736748d24660126286329742b4c6c"
|
|||
[[package]]
|
||||
name = "polldance"
|
||||
version = "0.1.0"
|
||||
source = "git+https://git.asonix.dog/safe-async/polldance#61732c97b64e7382fc8947a9170450e70196e0e0"
|
||||
source = "git+https://git.asonix.dog/safe-async/polldance#7e82523115d201c78303d020a77473fec88a12ac"
|
||||
dependencies = [
|
||||
"rustix",
|
||||
]
|
||||
|
|
|
@ -410,7 +410,7 @@ impl Future for BindTcpListener {
|
|||
let builder = match Arc::try_unwrap(builder) {
|
||||
Ok(builder) => builder,
|
||||
Err(arc) => {
|
||||
this.io = Some(arc);
|
||||
this.io = Some(Ok(arc));
|
||||
return Poll::Pending;
|
||||
}
|
||||
};
|
||||
|
@ -450,7 +450,7 @@ impl Future for BindUdpSocket {
|
|||
let builder = match Arc::try_unwrap(builder) {
|
||||
Ok(builder) => builder,
|
||||
Err(arc) => {
|
||||
this.io = Some(arc);
|
||||
this.io = Some(Ok(arc));
|
||||
return Poll::Pending;
|
||||
}
|
||||
};
|
||||
|
@ -490,7 +490,7 @@ impl Future for Connect {
|
|||
let builder = match Arc::try_unwrap(builder) {
|
||||
Ok(builder) => builder,
|
||||
Err(arc) => {
|
||||
this.io = Some(arc);
|
||||
this.io = Some(Ok(arc));
|
||||
return Poll::Pending;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue