File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -805,7 +805,7 @@ impl<T: ?Sized> Pin<&'static T> {
805805 ///
806806 /// This is safe, because `T` is borrowed for the `'static` lifetime, which
807807 /// never ends.
808- #[stable(feature = "pin_static_ref", since = "1.60 .0")]
808+ #[stable(feature = "pin_static_ref", since = "1.61 .0")]
809809 #[rustc_const_unstable(feature = "const_pin", issue = "76654")]
810810 pub const fn static_ref(r: &'static T) -> Pin<&'static T> {
811811 // SAFETY: The 'static borrow guarantees the data will not be
@@ -858,7 +858,7 @@ impl<T: ?Sized> Pin<&'static mut T> {
858858 ///
859859 /// This is safe, because `T` is borrowed for the `'static` lifetime, which
860860 /// never ends.
861- #[stable(feature = "pin_static_ref", since = "1.60 .0")]
861+ #[stable(feature = "pin_static_ref", since = "1.61 .0")]
862862 #[rustc_const_unstable(feature = "const_pin", issue = "76654")]
863863 pub const fn static_mut(r: &'static mut T) -> Pin<&'static mut T> {
864864 // SAFETY: The 'static borrow guarantees the data will not be
You can’t perform that action at this time.
0 commit comments