FCP: https://github.com/rust-lang/rust/issues/60602#issuecomment-
511146402
}
/// Cast to a pointer to a different type
- #[unstable(feature = "ptr_cast", issue = "60602")]
+ #[stable(feature = "ptr_cast", since = "1.38.0")]
#[inline]
pub const fn cast<U>(self) -> *const U {
self as _
}
/// Cast to a pointer to a different type
- #[unstable(feature = "ptr_cast", issue = "60602")]
+ #[stable(feature = "ptr_cast", since = "1.38.0")]
#[inline]
pub const fn cast<U>(self) -> *mut U {
self as _