run x.py fmt
This commit is contained in:
parent
63f14b3a1e
commit
b7ca2b6510
1 changed files with 4 additions and 1 deletions
|
@ -569,7 +569,10 @@ impl<T> MaybeUninit<T> {
|
||||||
/// (Notice that the rules around references to uninitialized data are not finalized yet, but
|
/// (Notice that the rules around references to uninitialized data are not finalized yet, but
|
||||||
/// until they are, it is advisable to avoid them.)
|
/// until they are, it is advisable to avoid them.)
|
||||||
#[stable(feature = "maybe_uninit", since = "1.36.0")]
|
#[stable(feature = "maybe_uninit", since = "1.36.0")]
|
||||||
#[rustc_const_stable(feature = "const_maybe_uninit_as_mut_ptr", since = "CURRENT_RUSTC_VERSION")]
|
#[rustc_const_stable(
|
||||||
|
feature = "const_maybe_uninit_as_mut_ptr",
|
||||||
|
since = "CURRENT_RUSTC_VERSION"
|
||||||
|
)]
|
||||||
#[cfg_attr(bootstrap, rustc_allow_const_fn_unstable(const_mut_refs))]
|
#[cfg_attr(bootstrap, rustc_allow_const_fn_unstable(const_mut_refs))]
|
||||||
#[inline(always)]
|
#[inline(always)]
|
||||||
pub const fn as_mut_ptr(&mut self) -> *mut T {
|
pub const fn as_mut_ptr(&mut self) -> *mut T {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue