Rollup merge of #22952 - huonw:missing-stable, r=alexcrichton
Unstable is the conservative choice. cc #22950.
This commit is contained in:
commit
d8a91b95d1
@ -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,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user