Skip to content

Commit 891f3f7

Browse files
Rollup merge of #78188 - fusion-engineering-forks:static-ref-tracking-issue, r=withoutboats
Add tracking issue number for pin_static_ref Forgot to add a tracking issue in #77726. Opened #78186 as tracking issue.
2 parents dd77265 + 51de590 commit 891f3f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/core/src/pin.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@ impl<T: ?Sized> Pin<&'static T> {
786786
///
787787
/// This is safe, because `T` is borrowed for the `'static` lifetime, which
788788
/// never ends.
789-
#[unstable(feature = "pin_static_ref", issue = "none")]
789+
#[unstable(feature = "pin_static_ref", issue = "78186")]
790790
#[rustc_const_unstable(feature = "const_pin", issue = "76654")]
791791
pub const fn static_ref(r: &'static T) -> Pin<&'static T> {
792792
// SAFETY: The 'static borrow guarantees the data will not be
@@ -800,7 +800,7 @@ impl<T: ?Sized> Pin<&'static mut T> {
800800
///
801801
/// This is safe, because `T` is borrowed for the `'static` lifetime, which
802802
/// never ends.
803-
#[unstable(feature = "pin_static_ref", issue = "none")]
803+
#[unstable(feature = "pin_static_ref", issue = "78186")]
804804
#[rustc_const_unstable(feature = "const_pin", issue = "76654")]
805805
pub const fn static_mut(r: &'static mut T) -> Pin<&'static mut T> {
806806
// SAFETY: The 'static borrow guarantees the data will not be

0 commit comments

Comments
 (0)