Skip to content

Commit d8a91b9

Browse files
committed
Rollup merge of rust-lang#22952 - huonw:missing-stable, r=alexcrichton
Unstable is the conservative choice. cc rust-lang#22950.
2 parents e9ca8ac + b0e7c58 commit d8a91b9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libcore/iter.rs

+2
Original file line numberDiff line numberDiff line change
@@ -2061,6 +2061,7 @@ pub struct Scan<I, St, F> {
20612061
f: F,
20622062

20632063
/// The current internal state to be passed to the closure next.
2064+
#[unstable(feature = "core")]
20642065
pub state: St,
20652066
}
20662067

@@ -2338,6 +2339,7 @@ impl<I: RandomAccessIterator, F> RandomAccessIterator for Inspect<I, F>
23382339
pub struct Unfold<St, F> {
23392340
f: F,
23402341
/// Internal state that will be passed to the closure on the next iteration
2342+
#[unstable(feature = "core")]
23412343
pub state: St,
23422344
}
23432345

0 commit comments

Comments
 (0)