about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2015-03-02 18:04:11 +1100
committerHuon Wilson <dbau.pp+github@gmail.com>2015-03-02 18:04:11 +1100
commitb0e7c58bf020dde660af36f68eac8d0c1621d153 (patch)
tree01fd6ab1d8d7b945cba70d2b61628724adf10a48 /src/libcore
parent157614249594f187f421cd97f928e64c5ab5c1fa (diff)
Add missing stability attributes on struct fields.
Unstable is the conservative choice.

cc #22950.
Diffstat (limited to 'src/libcore')
-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 88a729a3db0..57a6613debd 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,
 }