sync: replace Poll::Ready with Ready (#5815)

This commit is contained in:
wjjiang
2023-06-25 10:40:49 +02:00
committed by GitHub
parent b8af5aad16
commit 78bf8a9e5e
+1 -1
View File
@@ -801,7 +801,7 @@ impl<T> Sender<T> {
if state.is_closed() {
coop.made_progress();
return Poll::Ready(());
return Ready(());
}
if state.is_tx_task_set() {