Skip to content

Commit 15f72dd

Browse files
committed
add tracking issue, fix typo
1 parent 9ae26c8 commit 15f72dd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

library/core/src/ptr/mod.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -690,18 +690,18 @@ where
690690
/// type or mutability, in particular if the code is refactored.
691691
#[inline(always)]
692692
#[must_use]
693-
#[unstable(feature = "ptr_from_ref", issue = "999999")] // FIXME
693+
#[unstable(feature = "ptr_from_ref", issue = "106116")]
694694
pub fn from_ref<T: ?Sized>(r: &T) -> *const T {
695695
r
696696
}
697697

698-
/// Convert a mutble reference to a raw pointer.
698+
/// Convert a mutable reference to a raw pointer.
699699
///
700700
/// This is equivalent to `r as *mut T`, but is a bit safer since it will never silently change
701701
/// type or mutability, in particular if the code is refactored.
702702
#[inline(always)]
703703
#[must_use]
704-
#[unstable(feature = "ptr_from_ref", issue = "999999")] // FIXME
704+
#[unstable(feature = "ptr_from_ref", issue = "106116")]
705705
pub fn from_mut<T: ?Sized>(r: &mut T) -> *mut T {
706706
r
707707
}

0 commit comments

Comments
 (0)