Add missing stability attributes on struct fields.

Unstable is the conservative choice.

cc #22950.
This commit is contained in:
Huon Wilson 2015-03-02 18:04:11 +11:00
parent 1576142495
commit b0e7c58bf0

View 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 @@ 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,
}