@@ -10,7 +10,6 @@ use std::task::{Context, Poll};
10
10
use std:: { fmt, panic} ;
11
11
12
12
use crate :: runtime:: Handle ;
13
- #[ cfg( tokio_unstable) ]
14
13
use crate :: task:: Id ;
15
14
use crate :: task:: { unconstrained, AbortHandle , JoinError , JoinHandle , LocalSet } ;
16
15
use crate :: util:: IdleNotifiedSet ;
@@ -300,8 +299,6 @@ impl<T: 'static> JoinSet<T> {
300
299
///
301
300
/// [task ID]: crate::task::Id
302
301
/// [`JoinError::id`]: fn@crate::task::JoinError::id
303
- #[ cfg( tokio_unstable) ]
304
- #[ cfg_attr( docsrs, doc( cfg( tokio_unstable) ) ) ]
305
302
pub async fn join_next_with_id ( & mut self ) -> Option < Result < ( Id , T ) , JoinError > > {
306
303
std:: future:: poll_fn ( |cx| self . poll_join_next_with_id ( cx) ) . await
307
304
}
@@ -338,8 +335,6 @@ impl<T: 'static> JoinSet<T> {
338
335
///
339
336
/// [task ID]: crate::task::Id
340
337
/// [`JoinError::id`]: fn@crate::task::JoinError::id
341
- #[ cfg( tokio_unstable) ]
342
- #[ cfg_attr( docsrs, doc( cfg( tokio_unstable) ) ) ]
343
338
pub fn try_join_next_with_id ( & mut self ) -> Option < Result < ( Id , T ) , JoinError > > {
344
339
// Loop over all notified `JoinHandle`s to find one that's ready, or until none are left.
345
340
loop {
@@ -544,8 +539,6 @@ impl<T: 'static> JoinSet<T> {
544
539
///
545
540
/// [coop budget]: crate::task#cooperative-scheduling
546
541
/// [task ID]: crate::task::Id
547
- #[ cfg( tokio_unstable) ]
548
- #[ cfg_attr( docsrs, doc( cfg( tokio_unstable) ) ) ]
549
542
pub fn poll_join_next_with_id (
550
543
& mut self ,
551
544
cx : & mut Context < ' _ > ,
0 commit comments