]> git.lizzy.rs Git - rust.git/commitdiff
Add the missing tracking issue field for #34931 to the receiver_try_iter stability...
authormitchmindtree <mitchell.nordine@gmail.com>
Wed, 20 Jul 2016 04:49:40 +0000 (14:49 +1000)
committermitchmindtree <mitchell.nordine@gmail.com>
Wed, 20 Jul 2016 04:49:40 +0000 (14:49 +1000)
src/libstd/sync/mpsc/mod.rs

index 2d2bded9f6060b108232f950f9b2e39525549d81..b862a594ed2107b3ce5985c04568a1e0da3319d4 100644 (file)
@@ -317,7 +317,7 @@ pub struct Iter<'a, T: 'a> {
 ///
 /// This Iterator will never block the caller in order to wait for data to
 /// become available. Instead, it will return `None`.
-#[unstable(feature = "receiver_try_iter")]
+#[unstable(feature = "receiver_try_iter", issue = "34931")]
 pub struct TryIter<'a, T: 'a> {
     rx: &'a Receiver<T>
 }
@@ -998,7 +998,7 @@ pub fn iter(&self) -> Iter<T> {
     /// It will return `None` if there are no more pending values or if the
     /// channel has hung up. The iterator will never `panic!` or block the
     /// user by waiting for values.
-    #[unstable(feature = "receiver_try_iter")]
+    #[unstable(feature = "receiver_try_iter", issue = "34931")]
     pub fn try_iter(&self) -> TryIter<T> {
         TryIter { rx: self }
     }
@@ -1098,7 +1098,7 @@ impl<'a, T> Iterator for Iter<'a, T> {
     fn next(&mut self) -> Option<T> { self.rx.recv().ok() }
 }
 
-#[unstable(feature = "receiver_try_iter")]
+#[unstable(feature = "receiver_try_iter", issue = "34931")]
 impl<'a, T> Iterator for TryIter<'a, T> {
     type Item = T;