about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-03-03 14:13:09 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-03-03 17:02:22 +0530
commitd8a91b95d1cdf7da8c57342ba163b35dc98a9260 (patch)
tree142fd3007630a9046726aecf06ef269664af8897
parente9ca8acb0fbe0217e63f888da7ddc37e6a79b079 (diff)
parentb0e7c58bf020dde660af36f68eac8d0c1621d153 (diff)
downloadrust-d8a91b95d1cdf7da8c57342ba163b35dc98a9260.tar.gz
rust-d8a91b95d1cdf7da8c57342ba163b35dc98a9260.zip
Rollup merge of #22952 - huonw:missing-stable, r=alexcrichton
 Unstable is the conservative choice.

cc #22950.
-rw-r--r--src/libcore/iter.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcore/iter.rs b/src/libcore/iter.rs
index 518ec05f5b9..13d219ec674 100644
--- a/src/libcore/iter.rs
+++ b/src/libcore/iter.rs
@@ -2061,6 +2061,7 @@ pub struct Scan<I, St, F> {
     f: F,
 
     /// The current internal state to be passed to the closure next.
+    #[unstable(feature = "core")]
     pub state: St,
 }
 
@@ -2338,6 +2339,7 @@ impl<I: RandomAccessIterator, F> RandomAccessIterator for Inspect<I, F>
 pub struct Unfold<St, F> {
     f: F,
     /// Internal state that will be passed to the closure on the next iteration
+    #[unstable(feature = "core")]
     pub state: St,
 }