File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -362,7 +362,7 @@ impl<T: 'static> JoinSet<T> {
362362 /// This can happen if the [coop budget] is reached.
363363 ///
364364 /// [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 > > > {
366366 // The call to `pop_notified` moves the entry to the `idle` list. It is moved back to
367367 // the `notified` list if the waker is notified in the `poll` call below.
368368 let mut entry = match self . inner . pop_notified ( cx. waker ( ) ) {
@@ -419,7 +419,8 @@ impl<T: 'static> JoinSet<T> {
419419 /// [coop budget]: crate::task#cooperative-scheduling
420420 /// [task ID]: crate::task::Id
421421 #[ cfg( tokio_unstable) ]
422- fn poll_join_next_with_id (
422+ #[ cfg_attr( docsrs, doc( cfg( tokio_unstable) ) ) ]
423+ pub fn poll_join_next_with_id (
423424 & mut self ,
424425 cx : & mut Context < ' _ > ,
425426 ) -> Poll < Option < Result < ( Id , T ) , JoinError > > > {
You can’t perform that action at this time.
0 commit comments