]> git.lizzy.rs Git - rust.git/blobdiff - src/libcore/iter.rs
Rollup merge of #22952 - huonw:missing-stable, r=alexcrichton
[rust.git] / src / libcore / iter.rs
index 518ec05f5b980944e5c06b5116b1835bd1c3c0dc..13d219ec674bce849ed942cd4f1e14a9ca814098 100644 (file)
@@ -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 @@ fn idx(&mut self, index: usize) -> Option<I::Item> {
 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,
 }