@@ -939,7 +939,6 @@ impl<P, U> DispatchFromDyn<Pin<U>> for Pin<P> where P: DispatchFromDyn<U> {}
939
939
/// ### Basic usage
940
940
///
941
941
/// ```rust
942
- /// #![feature(pin_macro)]
943
942
/// # use core::marker::PhantomPinned as Foo;
944
943
/// use core::pin::{pin, Pin};
945
944
///
@@ -957,7 +956,6 @@ impl<P, U> DispatchFromDyn<Pin<U>> for Pin<P> where P: DispatchFromDyn<U> {}
957
956
/// ### Manually polling a `Future` (without `Unpin` bounds)
958
957
///
959
958
/// ```rust
960
- /// #![feature(pin_macro)]
961
959
/// use std::{
962
960
/// future::Future,
963
961
/// pin::pin,
@@ -996,7 +994,7 @@ impl<P, U> DispatchFromDyn<Pin<U>> for Pin<P> where P: DispatchFromDyn<U> {}
996
994
/// ### With `Generator`s
997
995
///
998
996
/// ```rust
999
- /// #![feature(generators, generator_trait, pin_macro )]
997
+ /// #![feature(generators, generator_trait)]
1000
998
/// use core::{
1001
999
/// ops::{Generator, GeneratorState},
1002
1000
/// pin::pin,
@@ -1039,7 +1037,6 @@ impl<P, U> DispatchFromDyn<Pin<U>> for Pin<P> where P: DispatchFromDyn<U> {}
1039
1037
/// The following, for instance, fails to compile:
1040
1038
///
1041
1039
/// ```rust,compile_fail
1042
- /// #![feature(pin_macro)]
1043
1040
/// use core::pin::{pin, Pin};
1044
1041
/// # use core::{marker::PhantomPinned as Foo, mem::drop as stuff};
1045
1042
///
@@ -1081,7 +1078,7 @@ impl<P, U> DispatchFromDyn<Pin<U>> for Pin<P> where P: DispatchFromDyn<U> {}
1081
1078
/// constructor.
1082
1079
///
1083
1080
/// [`Box::pin`]: ../../std/boxed/struct.Box.html#method.pin
1084
- #[ unstable ( feature = "pin_macro" , issue = "93178 " ) ]
1081
+ #[ stable ( feature = "pin_macro" , since = "CURRENT_RUSTC_VERSION " ) ]
1085
1082
#[ rustc_macro_transparency = "semitransparent" ]
1086
1083
#[ allow_internal_unstable( unsafe_pin_internals) ]
1087
1084
pub macro pin ( $value: expr $( , ) ?) {
0 commit comments