File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -690,18 +690,18 @@ where
690
690
/// type or mutability, in particular if the code is refactored.
691
691
#[ inline( always) ]
692
692
#[ must_use]
693
- #[ unstable( feature = "ptr_from_ref" , issue = "999999 " ) ] // FIXME
693
+ #[ unstable( feature = "ptr_from_ref" , issue = "106116 " ) ]
694
694
pub fn from_ref < T : ?Sized > ( r : & T ) -> * const T {
695
695
r
696
696
}
697
697
698
- /// Convert a mutble reference to a raw pointer.
698
+ /// Convert a mutable reference to a raw pointer.
699
699
///
700
700
/// This is equivalent to `r as *mut T`, but is a bit safer since it will never silently change
701
701
/// type or mutability, in particular if the code is refactored.
702
702
#[ inline( always) ]
703
703
#[ must_use]
704
- #[ unstable( feature = "ptr_from_ref" , issue = "999999 " ) ] // FIXME
704
+ #[ unstable( feature = "ptr_from_ref" , issue = "106116 " ) ]
705
705
pub fn from_mut < T : ?Sized > ( r : & mut T ) -> * mut T {
706
706
r
707
707
}
You can’t perform that action at this time.
0 commit comments