@@ -316,7 +316,7 @@ pub struct Iter<'a, T: 'a> {
316
316
///
317
317
/// This Iterator will never block the caller in order to wait for data to
318
318
/// become available. Instead, it will return `None`.
319
- #[ unstable ( feature = "receiver_try_iter" , issue = "34931 " ) ]
319
+ #[ stable ( feature = "receiver_try_iter" , since = "1.15.0 " ) ]
320
320
pub struct TryIter < ' a , T : ' a > {
321
321
rx : & ' a Receiver < T >
322
322
}
@@ -1008,7 +1008,7 @@ impl<T> Receiver<T> {
1008
1008
/// It will return `None` if there are no more pending values or if the
1009
1009
/// channel has hung up. The iterator will never `panic!` or block the
1010
1010
/// user by waiting for values.
1011
- #[ unstable ( feature = "receiver_try_iter" , issue = "34931 " ) ]
1011
+ #[ stable ( feature = "receiver_try_iter" , since = "1.15.0 " ) ]
1012
1012
pub fn try_iter ( & self ) -> TryIter < T > {
1013
1013
TryIter { rx : self }
1014
1014
}
@@ -1108,7 +1108,7 @@ impl<'a, T> Iterator for Iter<'a, T> {
1108
1108
fn next ( & mut self ) -> Option < T > { self . rx . recv ( ) . ok ( ) }
1109
1109
}
1110
1110
1111
- #[ unstable ( feature = "receiver_try_iter" , issue = "34931 " ) ]
1111
+ #[ stable ( feature = "receiver_try_iter" , since = "1.15.0 " ) ]
1112
1112
impl < ' a , T > Iterator for TryIter < ' a , T > {
1113
1113
type Item = T ;
1114
1114
0 commit comments