Skip to content

Commit

Permalink
Add missing stability attributes on struct fields.
Browse files Browse the repository at this point in the history
Unstable is the conservative choice.

cc #22950.
  • Loading branch information
huonw committed Mar 2, 2015
1 parent 1576142 commit b0e7c58
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libcore/iter.rs
Expand Up @@ -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,
}

Expand Down Expand Up @@ -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,
}

Expand Down

0 comments on commit b0e7c58

Please sign in to comment.