Skip to content

Commit 78bf8a9

Browse files
authored
sync: replace Poll::Ready with Ready (#5815)
1 parent b8af5aa commit 78bf8a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tokio/src/sync/oneshot.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ impl<T> Sender<T> {
801801

802802
if state.is_closed() {
803803
coop.made_progress();
804-
return Poll::Ready(());
804+
return Ready(());
805805
}
806806

807807
if state.is_tx_task_set() {

0 commit comments

Comments
 (0)