replace stabilization placeholders
This commit is contained in:
parent
72f4923979
commit
d0305b3d00
8 changed files with 29 additions and 29 deletions
|
@ -98,8 +98,8 @@ impl<T: ?Sized> *const T {
|
|||
///
|
||||
/// This is a bit safer than `as` because it wouldn't silently change the type if the code is
|
||||
/// refactored.
|
||||
#[stable(feature = "ptr_const_cast", since = "CURRENT_RUSTC_VERSION")]
|
||||
#[rustc_const_stable(feature = "ptr_const_cast", since = "CURRENT_RUSTC_VERSION")]
|
||||
#[stable(feature = "ptr_const_cast", since = "1.65.0")]
|
||||
#[rustc_const_stable(feature = "ptr_const_cast", since = "1.65.0")]
|
||||
pub const fn cast_mut(self) -> *mut T {
|
||||
self as _
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue