Skip to content

Commit

Permalink
run x.py fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ultrabear committed Sep 19, 2024
1 parent 9510c76 commit ccb31b8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion core/src/mem/maybe_uninit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,10 @@ impl<T> MaybeUninit<T> {
/// (Notice that the rules around references to uninitialized data are not finalized yet, but
/// until they are, it is advisable to avoid them.)
#[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))]
#[inline(always)]
pub const fn as_mut_ptr(&mut self) -> *mut T {
Expand Down

0 comments on commit ccb31b8

Please # to comment.