mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-21 00:00:10 +02:00
sync: replace Poll::Ready with Ready (#5815)
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user