mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-28 12:10:37 +00:00
sync: replace Poll::Ready with Ready (#5815)
This commit is contained in:
parent
b8af5aad16
commit
78bf8a9e5e
@ -801,7 +801,7 @@ impl<T> Sender<T> {
|
|||||||
|
|
||||||
if state.is_closed() {
|
if state.is_closed() {
|
||||||
coop.made_progress();
|
coop.made_progress();
|
||||||
return Poll::Ready(());
|
return Ready(());
|
||||||
}
|
}
|
||||||
|
|
||||||
if state.is_tx_task_set() {
|
if state.is_tx_task_set() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user