File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -362,7 +362,7 @@ impl<T: 'static> JoinSet<T> {
362
362
/// This can happen if the [coop budget] is reached.
363
363
///
364
364
/// [coop budget]: crate::task#cooperative-scheduling
365
- fn poll_join_next ( & mut self , cx : & mut Context < ' _ > ) -> Poll < Option < Result < T , JoinError > > > {
365
+ pub fn poll_join_next ( & mut self , cx : & mut Context < ' _ > ) -> Poll < Option < Result < T , JoinError > > > {
366
366
// The call to `pop_notified` moves the entry to the `idle` list. It is moved back to
367
367
// the `notified` list if the waker is notified in the `poll` call below.
368
368
let mut entry = match self . inner . pop_notified ( cx. waker ( ) ) {
@@ -419,7 +419,7 @@ impl<T: 'static> JoinSet<T> {
419
419
/// [coop budget]: crate::task#cooperative-scheduling
420
420
/// [task ID]: crate::task::Id
421
421
#[ cfg( tokio_unstable) ]
422
- fn poll_join_next_with_id (
422
+ pub fn poll_join_next_with_id (
423
423
& mut self ,
424
424
cx : & mut Context < ' _ > ,
425
425
) -> Poll < Option < Result < ( Id , T ) , JoinError > > > {
You can’t perform that action at this time.
0 commit comments