diff options
| author | Ralf Jung <post@ralfj.de> | 2025-06-07 12:15:25 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2025-06-07 12:15:25 +0200 |
| commit | 6a6c595be68dbd9c205f7f2f5a4226d9aee7cd19 (patch) | |
| tree | 4ad34000553630a6f75737715a7810ffdf9d223c | |
| parent | c57119b9a1c86968188bb9703a7859c17f8bc71c (diff) | |
| download | rust-6a6c595be68dbd9c205f7f2f5a4226d9aee7cd19.tar.gz rust-6a6c595be68dbd9c205f7f2f5a4226d9aee7cd19.zip | |
get rid of spurious cfg(bootstrap)
| -rw-r--r-- | library/core/src/iter/sources/generator.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/library/core/src/iter/sources/generator.rs b/library/core/src/iter/sources/generator.rs index c94232e09eb..155fa9368ad 100644 --- a/library/core/src/iter/sources/generator.rs +++ b/library/core/src/iter/sources/generator.rs @@ -9,8 +9,6 @@ /// /// ``` /// #![feature(iter_macro, coroutines)] -/// # #[cfg(not(bootstrap))] -/// # { /// /// let it = std::iter::iter!{|| { /// yield 1; @@ -19,7 +17,6 @@ /// } }(); /// let v: Vec<_> = it.collect(); /// assert_eq!(v, [1, 2, 3]); -/// # } /// ``` #[unstable(feature = "iter_macro", issue = "none", reason = "generators are unstable")] #[allow_internal_unstable(coroutines, iter_from_coroutine)] |
