diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2015-03-02 18:04:11 +1100 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2015-03-02 18:04:11 +1100 |
| commit | b0e7c58bf020dde660af36f68eac8d0c1621d153 (patch) | |
| tree | 01fd6ab1d8d7b945cba70d2b61628724adf10a48 /src/libcore | |
| parent | 157614249594f187f421cd97f928e64c5ab5c1fa (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.rs | 2 |
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, } |
