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.
2 parents 277857e + 6a6c595 commit 049d2daCopy full SHA for 049d2da
library/core/src/iter/sources/generator.rs
@@ -9,8 +9,6 @@
9
///
10
/// ```
11
/// #![feature(iter_macro, coroutines)]
12
-/// # #[cfg(not(bootstrap))]
13
-/// # {
14
15
/// let it = std::iter::iter!{|| {
16
/// yield 1;
@@ -19,7 +17,6 @@
19
17
/// } }();
20
18
/// let v: Vec<_> = it.collect();
21
/// assert_eq!(v, [1, 2, 3]);
22
-/// # }
23
24
#[unstable(feature = "iter_macro", issue = "none", reason = "generators are unstable")]
25
#[allow_internal_unstable(coroutines, iter_from_coroutine)]
0 commit comments