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 0d855eb commit b6e51aaCopy full SHA for b6e51aa
library/core/src/iter/sources/generator.rs
@@ -9,6 +9,8 @@
9
///
10
/// ```
11
/// #![feature(iter_macro, coroutines)]
12
+/// # #[cfg(not(bootstrap))]
13
+/// # {
14
15
/// let it = std::iter::iter!{|| {
16
/// yield 1;
@@ -17,6 +19,7 @@
17
19
/// } }();
18
20
/// 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