File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 " ) ]
694694pub 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 " ) ]
705705pub fn from_mut < T : ?Sized > ( r : & mut T ) -> * mut T {
706706 r
707707}
You can’t perform that action at this time.
0 commit comments