We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0de90c6 + 8040c54 commit 2567af6Copy full SHA for 2567af6
src/libcore/ptr/mod.rs
@@ -1043,7 +1043,7 @@ impl<T: ?Sized> *const T {
1043
}
1044
1045
/// Cast to a pointer to a different type
1046
- #[unstable(feature = "ptr_cast", issue = "60602")]
+ #[stable(feature = "ptr_cast", since = "1.38.0")]
1047
#[inline]
1048
pub const fn cast<U>(self) -> *const U {
1049
self as _
@@ -1678,7 +1678,7 @@ impl<T: ?Sized> *mut T {
1678
1679
1680
1681
1682
1683
pub const fn cast<U>(self) -> *mut U {
1684
0 commit comments