We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
x.py fmt
1 parent 63f14b3 commit b7ca2b6Copy full SHA for b7ca2b6
library/core/src/mem/maybe_uninit.rs
@@ -569,7 +569,10 @@ impl<T> MaybeUninit<T> {
569
/// (Notice that the rules around references to uninitialized data are not finalized yet, but
570
/// until they are, it is advisable to avoid them.)
571
#[stable(feature = "maybe_uninit", since = "1.36.0")]
572
- #[rustc_const_stable(feature = "const_maybe_uninit_as_mut_ptr", since = "CURRENT_RUSTC_VERSION")]
+ #[rustc_const_stable(
573
+ feature = "const_maybe_uninit_as_mut_ptr",
574
+ since = "CURRENT_RUSTC_VERSION"
575
+ )]
576
#[cfg_attr(bootstrap, rustc_allow_const_fn_unstable(const_mut_refs))]
577
#[inline(always)]
578
pub const fn as_mut_ptr(&mut self) -> *mut T {
0 commit comments