diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-03-03 14:13:09 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-03-03 17:02:22 +0530 |
| commit | d8a91b95d1cdf7da8c57342ba163b35dc98a9260 (patch) | |
| tree | 142fd3007630a9046726aecf06ef269664af8897 | |
| parent | e9ca8acb0fbe0217e63f888da7ddc37e6a79b079 (diff) | |
| parent | b0e7c58bf020dde660af36f68eac8d0c1621d153 (diff) | |
| download | rust-d8a91b95d1cdf7da8c57342ba163b35dc98a9260.tar.gz rust-d8a91b95d1cdf7da8c57342ba163b35dc98a9260.zip | |
Rollup merge of #22952 - huonw:missing-stable, r=alexcrichton
Unstable is the conservative choice. cc #22950.
| -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 518ec05f5b9..13d219ec674 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, } |
