Skip to content

Commit aed2e5c

Browse files
committed
Add the missing tracking issue field for rust-lang#34931 to the receiver_try_iter stability attributes
1 parent b02b38e commit aed2e5c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libstd/sync/mpsc/mod.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ pub struct Iter<'a, T: 'a> {
317317
///
318318
/// This Iterator will never block the caller in order to wait for data to
319319
/// become available. Instead, it will return `None`.
320-
#[unstable(feature = "receiver_try_iter")]
320+
#[unstable(feature = "receiver_try_iter", issue = "34931")]
321321
pub struct TryIter<'a, T: 'a> {
322322
rx: &'a Receiver<T>
323323
}
@@ -998,7 +998,7 @@ impl<T> Receiver<T> {
998998
/// It will return `None` if there are no more pending values or if the
999999
/// channel has hung up. The iterator will never `panic!` or block the
10001000
/// user by waiting for values.
1001-
#[unstable(feature = "receiver_try_iter")]
1001+
#[unstable(feature = "receiver_try_iter", issue = "34931")]
10021002
pub fn try_iter(&self) -> TryIter<T> {
10031003
TryIter { rx: self }
10041004
}
@@ -1098,7 +1098,7 @@ impl<'a, T> Iterator for Iter<'a, T> {
10981098
fn next(&mut self) -> Option<T> { self.rx.recv().ok() }
10991099
}
11001100

1101-
#[unstable(feature = "receiver_try_iter")]
1101+
#[unstable(feature = "receiver_try_iter", issue = "34931")]
11021102
impl<'a, T> Iterator for TryIter<'a, T> {
11031103
type Item = T;
11041104

0 commit comments

Comments
 (0)