about summary refs log tree commit diff
path: root/library/core/src/pin.rs
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2023-11-13 07:39:17 -0500
committerMark Rousskov <mark.simulacrum@gmail.com>2023-11-15 19:41:28 -0500
commitdb3e2bacb69c068fd9262a3aadd961ea2f7f940e (patch)
tree0572b5e415d8b77a62133845eb41f13551e4b09a /library/core/src/pin.rs
parent74cf505e365966a4005cf7b71cacab0659732552 (diff)
downloadrust-db3e2bacb69c068fd9262a3aadd961ea2f7f940e.tar.gz
rust-db3e2bacb69c068fd9262a3aadd961ea2f7f940e.zip
Bump cfg(bootstrap)s
Diffstat (limited to 'library/core/src/pin.rs')
-rw-r--r--library/core/src/pin.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/library/core/src/pin.rs b/library/core/src/pin.rs
index bca97d4ee36..c3e774e1dab 100644
--- a/library/core/src/pin.rs
+++ b/library/core/src/pin.rs
@@ -1088,8 +1088,7 @@ impl<P, U> DispatchFromDyn<Pin<U>> for Pin<P> where P: DispatchFromDyn<U> {}
 /// ### With `Coroutine`s
 ///
 /// ```rust
-/// #![cfg_attr(bootstrap, feature(generators))]
-/// #![cfg_attr(not(bootstrap), feature(coroutines))]
+/// #![feature(coroutines)]
 /// #![feature(coroutine_trait)]
 /// use core::{
 ///     ops::{Coroutine, CoroutineState},