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

This commit is contained in:
wjjiang 2023-06-25 16:40:49 +08:00 committed by GitHub
parent b8af5aad16
commit 78bf8a9e5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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() {