We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2be3de9 commit 15ab8edCopy full SHA for 15ab8ed
rust-src.diff
@@ -0,0 +1,21 @@
1
+diff --git a/library/core/src/iter/sources/generator.rs b/library/core/src/iter/sources/generator.rs
2
+index c94232e09eb..155fa9368ad 100644
3
+--- a/library/core/src/iter/sources/generator.rs
4
++++ b/library/core/src/iter/sources/generator.rs
5
+@@ -9,8 +9,6 @@
6
+ ///
7
+ /// ```
8
+ /// #![feature(iter_macro, coroutines)]
9
+-/// # #[cfg(not(bootstrap))]
10
+-/// # {
11
12
+ /// let it = std::iter::iter!{|| {
13
+ /// yield 1;
14
+@@ -19,7 +17,6 @@
15
+ /// } }();
16
+ /// let v: Vec<_> = it.collect();
17
+ /// assert_eq!(v, [1, 2, 3]);
18
+-/// # }
19
20
+ #[unstable(feature = "iter_macro", issue = "none", reason = "generators are unstable")]
21
+ #[allow_internal_unstable(coroutines, iter_from_coroutine)]
0 commit comments