diff --git a/src/libcore/iter.rs b/src/libcore/iter.rs index 88a729a3db09e..57a6613debd58 100644 --- a/src/libcore/iter.rs +++ b/src/libcore/iter.rs @@ -2061,6 +2061,7 @@ pub struct Scan { f: F, /// The current internal state to be passed to the closure next. + #[unstable(feature = "core")] pub state: St, } @@ -2338,6 +2339,7 @@ impl RandomAccessIterator for Inspect pub struct Unfold { f: F, /// Internal state that will be passed to the closure on the next iteration + #[unstable(feature = "core")] pub state: St, }